This could be done quite easily with Perl as previously mentioned, but from a security standpoint do you think it's a good idea to store a database username/password in an environment variable (at least this is what I'm assuming your doing) ...
As far as I'm concerned that's a hacker's paradise....... Leonard Leblanc Webmaster / Intranet Administrator www.emergeknowledge.com ----- Original Message ----- From: "Adahma" <[EMAIL PROTECTED]> To: "Debian List" <debian-user@lists.debian.org> Sent: Thursday, June 07, 2001 5:17 PM Subject: Text Processing Question > I have about 400 little 2 line files to create, that I'm sure should > be scriptable, but can't seem to figure out the right tools. > > The file format should be as follows: > > DBUSER=username/password > export DBUSER > > I'd like to be able to run something like: > scriptname username password > > and just have a file created and saved as the user name parameter. > > Is this a sed or awk kinda thing? > > Any help is greatly appreciated! > > jdk > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >