Language:
switch to room list switch to menu My folders
Go to page: 1 2 3 [4] 5 6 7 8 ... Last
[#] Thu Feb 12 2004 12:41:14 EST from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Hue, I understand. The modified script as above should work for your application, even if it mistakenly happens to run under GNU bash instead of ksh (which is apparently what happened on your Linux box). I just wanted to make sure it ALSO ran under ksh, otherwise the modification would be pointless...Remember that bash is the default shell under Linux and you have to go through a lot of pains to use another shell in your scripts. (Well, #!/bin/ksh anyway, and making sure ksh is actually on the system...)

[#] Thu Feb 12 2004 14:37:17 EST from Tony Preston @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I think my linux system has ksh as a link to bash....

[#] Thu Feb 12 2004 23:01:28 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Feb 12 2004 2:37pm from Tony Preston @uncnsrd
I think my linux system has ksh as a link to bash....


Right, I've seen shit like that. You'll find your scripts do weird things on systems like these.

[#] Fri Feb 13 2004 13:45:19 EST from Hue Jr. @ Anansi-Del

[Reply] [ReplyQuoted] [Headers] [Print]


Great. One of the few things to dislike about a free UNIX system ...

[#] Fri Feb 13 2004 15:09:52 EST from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Bah. My Linux box didn't HAVE a ksh, not even a symlink, until I installed it. If yours had a symlink to bash, you should bitch to your vendor. They're NOT compatible enough for them to be making such a symlink.

[#] Fri Feb 13 2004 15:16:11 EST from Chickenhead @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Feb 13 2004 3:09pm from IO ERROR @uncnsrd
Bah. My Linux box didn't HAVE a ksh, not even a symlink, until I
installed it. If yours had a symlink to bash, you should bitch to your
vendor. They're NOT compatible enough for them to be making such a
symlink.


I have yet to encounter any Linux distro that installs (pd)ksh by default.
It's always an option you have to go looking for...

Me, I'm a big-time ksh bigot...can't stand bash.

[#] Fri Feb 13 2004 15:53:36 EST from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

And ksh annoys me. Or maybe it's just korn that annoys me...

[#] Fri Feb 13 2004 16:44:27 EST from Chickenhead @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

David Korn annoys you? :) Or the band?

[#] Fri Feb 13 2004 23:28:27 EST from Hue Jr. @ Anansi-Del

[Reply] [ReplyQuoted] [Headers] [Print]


I use ksh in preference to csh and its kin.

[#] Sat Feb 14 2004 00:55:29 EST from lysdexia @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I think he meant the radio station from "Hee Haw".

[#] Sat Feb 14 2004 18:16:11 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Me, I'm a big-time ksh bigot...can't stand bash.

FORD BASH!

[#] Sat Feb 14 2004 18:36:48 EST from Animal @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I prefer ZSH myself.

[#] Sat Feb 14 2004 19:18:34 EST from Patriot @ PixelBBS

[Reply] [ReplyQuoted] [Headers] [Print]

SHELL WARS!!!!!

[#] Mon Feb 16 2004 10:27:32 EST from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Well, let's just eliminate the *csh people right off the bat: shell programming isn't SUPPOSED to look like C. <GRIN>

[#] Mon Feb 16 2004 11:33:53 EST from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Hmm.. must be why I like the tcsh shell.

[#] Mon Feb 16 2004 11:37:29 EST from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

<eliminates fleeb>

[#] Mon Feb 16 2004 13:16:30 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

that's why I like awk.

[#] Mon Feb 16 2004 13:17:24 EST from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Because it sounds like a bodily function?

[#] Tue Feb 17 2004 08:22:35 EST from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Amusingly, I never use the tcsh shell. I think I've been using bash instead.

[#] Tue Feb 17 2004 08:50:58 EST from Freakdog @ Dog Pound BBS II

[Reply] [ReplyQuoted] [Headers] [Print]

Until I went to RH 7 and 9, I used to use tcsh all the time. I particularly like its "foreach" loop command and its ability to see that you've made a typo, and to ask you if you really meant to type something else.

I've been using bash since I installed my systems running RH7.1 and up.

Go to page: 1 2 3 [4] 5 6 7 8 ... Last