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: 06 Aug 2002 21:07:01 +0900
- From: Bruno Raoult <br@example.com>
- Subject: Re: [tlug] sed or awk or what?
- References: <1028624439.3d4f90371095e@example.com>
What about this one? sed -e '2 s/\(.* \)\{8\}[^ ]*\(.*\)/\170\2/' < A.txt br. On Tue, 2002-08-06 at 18:00, Sven Simon wrote: > Here's a quick one: > > 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 think to go with sed and > do some sort of substitution, but I couldn't figure the right regex. > > I know, it's probably a oneliner in perl, but I try to deepen my shell > scripting knowledge. So, someone please lead me in the right direction. > > Cheers, > > > ************************************************* > TLUG server is hosted by Global Online Japan > http://home.gol.com/index_e.html > ************************************************* > > ================================================= > To unsubscribe from this mailing list, > please see instructions at > http://www.tlug.jp/list.html > ================================================= > -- "On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows 95 or better'. So I installed Linux." -- AnonymousAttachment: signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [tlug] sed or awk or what?
- From: Bruno Raoult
- References:
- [tlug] sed or awk or what?
- From: Sven Simon
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] sed or perl script help please . . .
- Next by Date: Re: [tlug] sed or awk or what?
- Previous by thread: [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