Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!
0 Members and 1 Guest are viewing this topic.
bash > awkI hate awk so very much.
Quote from: rabbit on April 20, 2008, 06:16:58 pmbash > awkI hate awk so very much.sh > bashI hate bash so very much. It's not a good replacement for sh, and its marketed as "standard". Then Linux kiddies write scripts that use it, breaking portability...somehow this reminds me of the very company Linux kiddies hate so much. Irony indeed...
Quote from: nslay on April 27, 2008, 03:43:27 pmQuote from: rabbit on April 20, 2008, 06:16:58 pmbash > awkI hate awk so very much.sh > bashI hate bash so very much. It's not a good replacement for sh, and its marketed as "standard". Then Linux kiddies write scripts that use it, breaking portability...somehow this reminds me of the very company Linux kiddies hate so much. Irony indeed...What are the key differences? I've always found them inter-compatible.
Quote from: iago on April 27, 2008, 05:28:30 pmWhat are the key differences? I've always found them inter-compatible. bash is marketed as a replacement for sh, but it features more than just the basic bourne shell functionality...thats good and dandy except people are writing scripts for bash instead of sh, the POSIX standard. In short, bash-specific scripts don't work with sh.
What are the key differences? I've always found them inter-compatible.
Quote from: nslay on May 02, 2008, 08:23:08 pmQuote from: iago on April 27, 2008, 05:28:30 pmWhat are the key differences? I've always found them inter-compatible. bash is marketed as a replacement for sh, but it features more than just the basic bourne shell functionality...thats good and dandy except people are writing scripts for bash instead of sh, the POSIX standard. In short, bash-specific scripts don't work with sh.Great, which leads me to another question: What are the key differences? I've always found them inter-compatible.
Shell scripts written with Bash-specific features (bashisms) will not function on a system using the Bourne shell or one of its replacements, unless bash is installed as a secondary shell and the script begins with #!/bin/bash. This problem became particularly important when ubuntu began, in October 2006, to ship the Debian Almquist shell, dash, as the default scripting shell, causing a wide variety of scripts to fail.
I'd personally do as Joe suggests
You might be right about that, Joe.
Perhaps I've been on Windows too long in the past, but what's wrong with just using bash? Does it leak memory or something, or is it just the UNIX philosophy of not having features that make the 10-mile uphill walk easier?
porting bash is hard.