jeff wrote:
That will work thanks.
Nicholas Leippe wrote:
On Friday 25 February 2005 08:44 am, jeff wrote:
Is there a command line tool that will let me modify the value of a config file.
The file is layed out like:
[import] filename = /home/blah/blah starttime = 16:00
I'm sure a couple of lines of perl could do it. At the very least:
perl -p -i -e 's/^starttime.*$/starttime = 17:00/' bar.cfg
.===================================. | This has been a P.L.U.G. mailing. | | Don't Fear the Penguin. | | IRC: #utah at irc.freenode.net | `==================================='
.===================================. | This has been a P.L.U.G. mailing. | | Don't Fear the Penguin. | | IRC: #utah at irc.freenode.net | `==================================='
