[buug] more specific

johnd john at jjdev.com
Wed Apr 30 14:20:17 PDT 2003


On Wed, Apr 30, 2003 at 02:15:53PM -0700, Aaron T Porter wrote:
> On Wed, Apr 30, 2003 at 02:07:50PM -0700, johnd wrote:
> > let me ask a more specific question
> > if I have a file with lines that have UserID=somestuff&
> > surrounded by other text
> > how can I substitue the UserID=somestuff for say UserID=foo
> > the file is like this
> > aaaaaaaaaaaaaaaUserID=oldid&bbbbbbbbbbbbbbbbbbbb
> > and I want to make it
> > aaaaaaaaaaaaaaaUserID=newid&bbbbbbbbbbbbbbbbbbbb
> > the substring is UserID=text  and ends at the &
> 
> 	Where are you getting newid from?

It will always be the same, I'lll provide it





More information about the buug mailing list