Re: [opensuse] Need some help with a script
- From: David Haller <opensuse@xxxxxxxxxx>
- Date: Sun, 8 Feb 2009 04:57:19 +0100
Hello,
On Sat, 07 Feb 2009, Brian K. White wrote:
[>Randall R Schulz wrote:]
[>> David Haller wrote:]
^ *blam*I have not declared it off-topic. I did ask you to refrain from
telling others to put '.' in PATH.
For all I care, you can do whatever you like on your box. Shoot
yourself in the foot as much as you like, suit yourself. Just don't
tell others, here or elsewhere, to do the same. Savvy?
I will give the advise I decide to give.
I've had dot in my PATH for 32 years and my foot remains free of bullet
holes.
Ahh so that means it's not wrong?
I have dirty underwear too. I am far too willing to solve
permissions problems by just putting "umask 0" at the top of a
script or as the first part of a system() command.
And I'm not as thorough as I really should be about vetting and sanitizing
any strings or values that were ultimately supplied by a user or
other unpredictable outside source before I use them as part of
commands I'm running.
I have been doing so since day one and have never been burned either.
In a similar vein, up until 2 weeks ago, for over 15 years I have had
HD-drives lose sectors, but never die "just like that". But what do I
know. 2 weeks ago, two 500 GB drives died on me almost simultaneously.
From the first one (system+data), I could still copy the data, thedata on the second drive I just lost. The latter drive is still
detected at boot (if I reconnect it), but won't respond (SATA link
will not establish)... Go figure.
So, not having been "burned", "shot", or "bitten" by whatever, for
however how long, doesn't mean shit. Unless you have proved[see sig]
*and* tried that you can not be affected.
Oh, and have I done/grown "dirty" stuff on my (main) system[1]. The
positive side (i.e. maintaining the system) of what I do with that
system has even been verbed on the suse-linux list. I tend to keep
quiet about the "bad" things I do ;)
I don't tell other people to do the same. Just that, with a metric
buttload of "if"s, things may be possible.
And . in PATH is evil. As is anything but 'ROOT_USES_LANG=no' in
/etc/rc.config, ahhh, /etc/sysconfig/language nowadays :)
And "CWD_IN_ROOT_PATH=..." shouldn't even exist.
-dnh, takes a note to file that last one as a bug
PS: Brian: please attribute quotes
[1] $ rpm -qa --last | tail -n 1
bc-1.04-74 Mon 16 Aug 1999 07:19:26
--
Beware of bugs in the above code; I have only proved it correct, not tried it.
- Donald Knuth
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Need some help with a script
- From: Rikard Johnels
- Re: [opensuse] Need some help with a script
- From: Randall R Schulz
- Re: [opensuse] Need some help with a script
- From: David Haller
- Re: [opensuse] Need some help with a script
- From: Randall R Schulz
- Re: [opensuse] Need some help with a script
- From: Brian K. White
- [opensuse] Need some help with a script
- Prev by Date: Re: [opensuse] No boot screen anymore...
- Next by Date: Re: [opensuse] Utterly Shocked - Suse system lockups
- Previous by thread: Re: [opensuse] Need some help with a script
- Next by thread: Re: [opensuse] Need some help with a script
- Index(es):
Relevant Pages
|