Prev: Want to insert some stuff as a new line after the line matchingregexp.
Next: Bulk moving of files
From: Seebs on 25 Mar 2010 01:37 On 2010-03-25, moonhkt <moonhkt(a)gmail.com> wrote: > Thank for your suggestion. Keep the coding sample and provide more > information . Yes. > I am not lazy. I try and search before post. But you don't actually spend the thirty seconds it would take to tell us what you actually want to have your script do! > May be I am not a good > script writter. You're certainly not very good at asking questions. Again, I urge you to read ESR's document on how to ask questions the smart way. -s -- Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam(a)seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
From: Loki Harfagr on 25 Mar 2010 11:22 Mon, 22 Mar 2010 23:50:12 -0700, moonhkt did cat : > Hi All > > System : AIX 5.3 > > > How to using sed replace '/* testing_email_body.txt */' to 'UNIX > SILENT cat /phx/src/testing_email_body.txt \> VALUE(tmp-file1).' ? from the few bits I could read in the curious stuff you posted I happend to conceive that maybe this is what you asked for: $ sed 's:/\* testing_email_body.txt \*/:UNIX SILENT cat /phx/src/testing_email_body\.txt \\> VALUE(tmp-file1)\.:' yourfile>yournewfile
From: Robert Bonomi on 25 Mar 2010 19:24 In article <01ddc941-274a-4178-8f3b-d7c2ece8cee2(a)w39g2000prd.googlegroups.com>, moonhkt <moonhkt(a)gmail.com> wrote: >Hi All > >System : AIX 5.3 > > >How to using sed..... Get the book "Sed & Awk" <http://www.ora.com> *READ* IT. two or three times. It contains everything you'll need to know about 'regular expressions' and text subsitution. You'll be amazedat the magic you'll be able to perform, _without_help. :)
From: moonhkt on 1 Apr 2010 13:14 On 3æ26æ¥, ä¸å7æ24å, bon...(a)host122.r-bonomi.com (Robert Bonomi) wrote: > In article <01ddc941-274a-4178-8f3b-d7c2ece8c...(a)w39g2000prd.googlegroups..com>, > > moonhkt  <moon...(a)gmail.com> wrote: > >Hi All > > >System : AIX 5.3 > > >How to using sed..... > > Get the book "Sed & Awk"  <http://www.ora.com> > > *READ* IT.  two or three times. > > It contains everything you'll need to know about 'regular expressions' and > text subsitution. > > You'll be amazedat the magic you'll be able to perform, _without_help. :) Thank for your provided the link to me.
First
|
Prev
|
Pages: 1 2 3 Prev: Want to insert some stuff as a new line after the line matchingregexp. Next: Bulk moving of files |