tab delimiter
i know that delimiter is set defualt as tab, but if i have to use a delimiter * followed by a tab for the command paste, what can i do??
in C, \t is used, but in shell script? paste -d'*\t' doc1 doc2? (but the pair of single quotes will disable the \t within them) or ...?? thx for any help man! |
Re: tab delimiter
Quote:
paste --delimiters="*`echo -e \t`" |
um, didn't work man, but thx for the help.
|
From what I can tall, the paste delimiter is limited to a single "character".
Try this: Code:
paste doc1 doc2 | awk '{print $1"*""\t"$2}' |
All times are GMT -5. The time now is 11:00 PM. |