Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: How To append text in column

2 views
Skip to first unread message

0xdeadabe

unread,
Apr 28, 2008, 10:10:09 AM4/28/08
to
On Thu, 24 Apr 2008 05:53:03 -0700 (PDT), invincible
<imanu...@googlemail.com> wrote:

>All,
>
>I have a file , which has a single column. I want to append a single
>text string after each string in the whole column.
>
>Tried doing %s/.$/text on vi but this eats away last alphabet on every
>line.

That's because youz are doing something really dumb.

BWAWAWAWAWAWAWAWAWA!!!!!

Lexington_Browns

unread,
Oct 17, 2008, 9:18:33 PM10/17/08
to
Since it has been so long I am assuming that you have gotten your answer.
But a simple way to do this would be with nawk.

"0xdeadabe" <no...@nowhere.net> wrote in message
news:4815daba...@news.motzarella.org...

Tom Disque

unread,
Oct 20, 2008, 8:33:43 AM10/20/08
to
I think you can use comm to do it as well.

"Lexington_Browns" <Lexingto...@Windstream.net> wrote in message
news:2ee15$48f93a7a$6215c915$22...@ALLTEL.NET...

0 new messages