Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] sed or awk or what?
- Date: Tue, 06 Aug 2002 18:10:19 +0900
- From: "Jean-Christian Imbeault" <jean_christian@example.com>
- Subject: Re: [tlug] sed or awk or what?
>From: Sven Simon <sven@example.com> >I have a file where I'd like to change the 9th field on the second line >to, say, 70. Field seperator is space. I would I'm no good with sed and I am sure someone will quickly give a really good awk script but ... assuming there are no spaces in any of your fields how about: s/(.*) (.*) (.*) (.*) (.*) (.*) (.*) (.*) (.*)(.*) /\1 \2 \3 \4 \5 \6 \7 \8 70\10 Jc PS I'm sure it doesn't work and you have my shell book so I can't look it up ;) _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com
- Follow-Ups:
- Re: [tlug] sed or awk or what?
- From: Bruno Raoult
- Re: [tlug] sed or awk or what?
- From: Viktor Pavlenko
Home | Main Index | Thread Index
- Prev by Date: [tlug] sed or awk or what?
- Next by Date: Re: [tlug] sed or perl script help please . . .
- Previous by thread: Re: [tlug] sed or awk or what?
- Next by thread: Re: [tlug] sed or awk or what?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links