[wellylug] simple super basic bash question

Brent Wood pcreso at pcreso.com
Tue Dec 21 13:57:06 NZDT 2004


--- Mark Signal <mark at databackup.co.nz> wrote:

> I had never heard of paste

If you do lots of shell scripting & don't use perl there are lots of little
text processing/formatting commands available. Good luck finding them though
:-(

tr, sed, cat, cut, paste, merge, grep & awk at least... 

> 
> if I try your syntax I get  bash: syntax error near unexpected token `<f'

<file1> was not meant to be copied directly, but replaced with the names of
your file(s) :-) They were just a placeholder for the actual parameters.

As you did....


> [root at wevil root]# paste -d " " file1 file2
> hello goodbye
> 
> thanks for responding

No problem :-)

> I have learnt a VAST amount from this list.

Yeah. It must be working if I can actually helpfully answer some questions !!


Cheers....




More information about the wellylug mailing list