[buug] more specific

Aaron T Porter atporter at primate.net
Wed Apr 30 14:15:53 PDT 2003


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?



More information about the buug mailing list