Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed/vi how to concatenate all non-empty lines?



> But . . . I get an error.
> 
> [root@example.com tools]# cat -s input.txt | sed join.sed
> sed: -e expression #1, char 1: Unknown command: ``j''

Try:
   cat -s input.txt | sed -f join.sed

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links