Date: Tue, 03 Sep 2002 00:43:43 -0400 From: Kirk Bailey <idiot1@netzero.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: sh script question Message-ID: <3D743DFF.B1DE6C8A@netzero.net>
next in thread | raw e-mail | index | archive | help
I want to write a script to install a python application. I has to locate the interpreter, extract that path, and create the shebang declaration on the first line, then append the remaining prepared script to that, create a directory under the web cgi-bin, and create a pair of files in it with the owner's email (and password in one of them). some of this is simple io, but I am pretty unclear on the joining of strings and variable values, not to mention parsing the output of whereis- or how to direct it's raw results into some sort of a variable. Scripting can be very powerful, but I'm still something of a newbie at this. Anyone interested in tossing an oar into my waters? -- end Respectfully, Kirk D Bailey +---------------------"Thou Art Free." -Eris-----------------------+ | http://www.howlermonkey.net mailto:highprimate@howlermonkey.net | | KILL spam dead! http://www.scambusters.org/stopspam/#Pledge | | http://www.tinylist.org +--------+ mailto:grumpy@tinylist.org | +------------------Thinking| NORMAL |Thinking----------------------+ +--------+ ------------------------------------------- Introducing NetZero Long Distance Unlimited Long Distance only $29.95/ month! Sign Up Today! www.netzerolongdistance.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D743DFF.B1DE6C8A>