aaron kulkis cmiqlkx91hotpopcom randall r schulz wrote friday 15 february 2008 0851 david c rankin wrote listmates every time run sed fight im trying locate strip quote everything follows line file called myfile obviously horribly confused ranges escaped parentheses 1 remembered patterns surely sed trees obscuring forest lines myfile like homeicons2filenamegifcapital seal 1 problem middle word something like cat tmpmyfile sed s09azaz1 doesnt work something simple cat tmpmyfile sed find delete get rid rest line sed odd duck though mostly esoteric options operations ones pretty simple sed e tmpmyfile resultfile hahyou came matching string please break habit cat somefile somecommand yesits called gratuitous use cat cat infile cat cat cat somecommand course done somecommand infile file takes input pipe also take input fileinput redirection even somecommand infile isnt readable enough infile command yes really work dont believe try unix command take file names specifications input operate dont file redirection always works time cat some_command needed cat file1 file2 file3 command cat someflag file command example cat n file command every input line preceded line number cat file command reduce nn single n help calm heh mon 04 aug 2008 175339 0500 opensuse sed howto strip character end line