Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Perl? | 25 comments | Create New Account
Click here to return to the 'Perl?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: owain_vaughan on Aug 30, '01 06:30:52AM is (as its name suggests) a bourne-shell script.
The first line contains the '#!/bin/sh' shebang, so the command you really meant was:
sudo (or sudo sh if you want to be sure you're running it through the correct interpreter).

[ Reply to This | # ]
Authored by: Chas on Aug 30, '01 07:10:32AM

well that's really odd, I did it like this:

su [password]

and it worked OK, it yielded a working XWindows config. I kinda wondered why this was a Perl script. Easy answer: it isn't. But no harm done.

I'm still stumped on the window manager problem. Looks like I'll have to build Gnome one piece at a time from source, or else settle for a prebuilt package of fvwm2.

[ Reply to This | # ]
Authored by: raster on Sep 05, '01 12:27:30PM

The reason it worked when running it with perl is bacause perl does 'the right thing' and looks at the first line to determine how the file should be processed. perl took care of handing off the task to the shell... that's perl for ya!

[ Reply to This | # ]
re Perl?
Authored by: eagle_eyes on Aug 31, '01 02:38:47AM

I am very new in the unix world and was trying anything to get the stupid thing to work :) I did not know what .sh ment...

I started to look at KDE2 (a friend suggested it) but it looks like it may be a bear to get working... long weekend coming, maybe I will try then!

[ Reply to This | # ]