Hello World!
I'm trying to capture the text that follows a set pattern. For example:
___DATA_____
User name=jriggs
In this simple scenario I would like the script to search the text file until it finds the above line, and then set. $uname='jriggs'...Of course $uname won't always be 'jriggs', any ideas? TIA-
Joe
A clever person solves a problem.
A wise person avoids it.
-- Einstein
I'm trying to capture the text that follows a set pattern. For example:
___DATA_____
User name=jriggs
In this simple scenario I would like the script to search the text file until it finds the above line, and then set. $uname='jriggs'...Of course $uname won't always be 'jriggs', any ideas? TIA-
Joe
A clever person solves a problem.
A wise person avoids it.
-- Einstein