Hello Jamie , Try "sed -e'...'" On Tue, 23 Sep 2003, Jamie Risk wrote:
> I can't figure out form sed's "info" or "man" pages how to make the > facsmilie of the following work; > > sed `s/ +$//` source.txt > > I hope it's obvious that I'm trying to strip trailing white space from the > file "source.txt". > > I can do this in TCL/perl and I know how to make a script file for sed work > too, but I can never readily remember how to get the command line syntax of > sed straight. > > - Jamie > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > -- +------------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network Engineer | P.O. Box 854 | Give me Linux | | [EMAIL PROTECTED] | Coudersport PA 16915 | only on AXP | +------------------------------------------------------------------+ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs