When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!!
Not a "Notepad.exeitor". Not a "WordPad.exeitor". Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!
So what should we do about it? I know! Let's use different keywords and symbols for the EXACT SAME THINGS! That way, real shell scripts and functions don't work in our new shell, scripts and functions written for our shell won't work in real shells, and EVERYBODY has to learn new syntax, not just new shell users. Brilliant!
Wait, hasn't somebody tried this before? I think it was called the PASCAL Shell or the COBOL Shell or something like that. Wasn't that one considered harmful at some point?
Name:
Anonymous2008-01-22 20:52
>>32
You idiot, don't try to run bash scripts in some other shell. You act like there haven't always been lots of shells.
Name:
Anonymous2008-01-22 20:58
>>33
Bash at least (mostly) supports the common subset of shell syntax that POSIX specifies.
Name:
Anonymous2008-01-22 21:13
As an aside, Zsh is even worse than Fish. It mostly uses POSIX syntax, changing it in a few, subtle ways. At least with Fish you know from the start that you're going to have to change everything. Changes in word splitting behavior can cause some nasty bugs. Plus, Fish doesn't have the gall to source the global profile on startup.
Name:
Anonymous2008-01-22 21:19
>>34
That's immaterial though. Run scripts in the shell they were written for and you won't have a problem.
Name:
Anonymous2008-01-22 21:25
>>36
There's a shell script that's run by almost every shell. It's called /etc/profile. If a shell doesn't use POSIX syntax, it can't read it, and doesn't have a properly set-up environment. If it has broken, POSIX-like syntax, it may cause strange errors.
Having a separate profile in /etc for each shell is like maintaining separate versions of a web site for each browser. It's much harder to maintain: any changes have to be duplicated across several files, and the maintainer needs to know the subtle differences between each syntax.
Name:
Anonymous2008-01-22 22:08
>>37
It just sets environment variables. Worst case: your fancy shell runs /etc/profile in another shell, then inherits that environment. Or just use your fancy shell as a login shell. There's no particular reason to do that.
The stack sprintf strcpy strcat gets etc are vuln to.
Name:
Anonymous2009-03-06 13:03
Since other people wrote the code who no longer work with us and all of a line and that it impinged on his personal integrity as a programmer Array functions are as powerful as webpages as structured as it seems the more mature part of it Do you get.