Re: inserting a single word in every file

2002-09-05 Thread Nandita Mullapudi
Hi Thanks alot for your help, i finally got my word inserted just once in every file (was re ALIGNMENTS..) yea...am kinda slooow! :) nandita -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: inserting a single word in every file

2002-08-21 Thread Sudarshan Raghavan
On Wed, 21 Aug 2002, Nandita wrote: > Thanks, but I forgot to mention in the beginning that i need to make this > modification only ONCE in my file- the ">" character comes up every few > lines, but I only want the title "ALIGNMENTS" in the beginning..i.e, it > shd not replace all the ">"s in my

Re: inserting a single word in every file

2002-08-21 Thread Nandita
Thanks, but I forgot to mention in the beginning that i need to make this modification only ONCE in my file- the ">" character comes up every few lines, but I only want the title "ALIGNMENTS" in the beginning..i.e, it shd not replace all the ">"s in my file.. ? sorry about that! -thanks, nandita

Re: inserting a single word in every file (fwd)

2002-08-20 Thread Sudarshan Raghavan
Sorry! forgot to post to the list -- Forwarded message -- Date: Wed, 21 Aug 2002 00:39:30 +0530 (IST) From: Sudarshan Raghavan <[EMAIL PROTECTED]> To: Nandita <[EMAIL PROTECTED]> Subject: Re: inserting a single word in every file On Mon, 19 Aug 2002, Nandita wro

Re: inserting a single word in every file

2002-08-20 Thread Dharmendra Rai
nandita, go to the point where u want to insert the word. read the file from that point to EOF in a scalar/array variable . write ur word there in the file. and after that write the contents of the variable back intp the file. - Get a bigger mailbox -- c

inserting a single word in every file

2002-08-19 Thread Nandita
Hello all, I have a list of files, and need to insert a word somewhere in the middle- the files begin with a list of sequence names followed by alignments for each sequence, and i'd like to insert the header "ALIGNMENTS" before they begin.. Any starting ideas / pointers for me? many thanks and ha