Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
The obvious way: gordon at bowtie gordon $ cat foo text text text text text gordon at bowtie gordon $ cat foo | sed "s/^/\n/" text text text text text The way from my link: Amusingly, it didn't work. Thanks, the Internet! :--) On 5/16/05, Jeff Kinz <jkinz at kinz.org> wrote: > On Mon, May 16, 2005 at 09:44:25AM -0400, Jerry Feldman wrote: > > I just tried it on my system: (here is a fragment of the file I used) > > ------------------------- > > collection currently include compilers for the Ada, C, C++, Objective > > C, Chill, FORTRAN, and Java languages. Unlike utilities such as p2c, > > this is a true compiler, not just a converter. > > -------------------------- > > sed -e "s/Chill/\n\nChill/" gpc.README > > The result is: > > collection currently include compilers for the Ada, C, C++, Objective > > C, > > > > Chill, FORTRAN, and Java languages. Unlike utilities such as p2c, > > ------------------------------------------- > > Jerry - this isn't working on my system. Example: > [jkinz at redline jkinz]$ cat foo > text > text > text > text > [jkinz at redline jkinz]$ cat foo | sed -e "s/^/\n\n/" > nntext > nntext > nntext > nntext > > Note - no new lines. also tried > 's. Any ideas as to what in the > local environment might cause this? > > my LANG=en_US > > > -- > Jeff Kinz, Emergent Research, Hudson, MA. > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://olduvai.blu.org/mailman/listinfo/discuss > -- Gordon Marx gcmarx at alumni.virginia.edu
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |