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] grep, sed, and cat - oh my!
- Date: Fri, 17 Sep 2010 16:17:52 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] grep, sed, and cat - oh my!
- References: <4C924ACE.9000707@example.com> <20100916170709.GI2124@example.com>
Nicolas Limare writes: > > line-replacing would happen on multiple files... but does "sed" > > already act on multiple files? > > no. sed works line by line In the sense that I think Dave means, it works on individual files: steve@example.com ~ $ echo foo > 1.txt steve@example.com ~ $ echo foo > 2.txt steve@example.com ~ $ sed -i -e 's/foo/bar/' [12].txt steve@example.com ~ $ cat 1.txt bar steve@example.com ~ $ cat 2.txt bar steve@example.com ~ $
- Follow-Ups:
- Re: [tlug] grep, sed, and cat - oh my!
- From: Nicolas Limare
- References:
- [tlug] grep, sed, and cat - oh my!
- From: Dave M G
- Re: [tlug] grep, sed, and cat - oh my!
- From: Nicolas Limare
Home | Main Index | Thread Index
- Prev by Date: [tlug] Javascript include order vs cat (Was: grep, sed, and cat - oh my!)
- Next by Date: Re: [tlug] grep, sed, and cat - oh my!
- Previous by thread: Re: [tlug] Javascript include order vs cat [SOLVED]
- Next by thread: Re: [tlug] grep, sed, and cat - oh my!
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links