vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| In article <0f2592de-6665-4b32-92c8-abe261b3f990@m36g2000hse.googlegroups.com>, invincible <imanuk2007@googlemail.com> writes: > 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. > > Thankyou Maybe nedit helps. It allows "paste column". |
| |||
| invincible <imanuk2007@googlemail.com> wrote: > 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. Yes, because you replaced that last letter. Why not %s/$/yourtext/ Yours, Laurenz Albe |
| |||
| On 24 Apr, 14:53, Laurenz Albe <inv...@spam.to.invalid> wrote: > invincible <imanuk2...@googlemail.com> wrote: > > 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. > > Yes, because you replaced that last letter. > Why not > > %s/$/yourtext/ > > Yours, > Laurenz Albe Thanyou a lot Laurenz for your help. Its worked Now.:-) |
| ||||
| On Thu, 24 Apr 2008 05:53:03 -0700 (PDT), invincible <imanuk2007@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!!!!! |