Hi,
with
sed, you can use:
Code:
sed -e "s/\t/\t \<s\> /" -e "s/$/ \<\/s\>/"
and with
awk it could be
Code:
awk '{gsub(/\t/, "\t <s> "); gsub(/$/, " </s> "); print}'
These examples would work for lists with
two columns only.
If there are more than two columns, it would be
Code:
awk 'BEGIN{FS=OFS="\t"}$2="<s> "$2" </s>"'
For detailed informations about the usage of these commands, you can use "man sed" and "man awk".