On Fri, Jun 13, 2008 at 1:18 AM, Miguel Paraz <[EMAIL PROTECTED]> wrote: > I know we had this debate before... > > .. .but why not just learn Perl, or Python, or Ruby, and script with > that? I think using shell scripting + sed + awk is masochistic > nowadays.
Migz, As discussed few weeks ago, because: * Not all systems have perl, python or ruby. Especial with really old UNIX systems. * You can't just install these programming languages on a whim on some systems as Thad alluded to because of audit and compliance reasons. I can also vouch the same reasons. * Sane programming across the Linux and UNIX systems, if using ksh. ksh scripts will run guaranteed on really old machines to the latest ones as long as you stick on the ksh88. Ludwig, Additional tips, if you have: ksh88 - set -o vi # file or subdir completion can be done via ESC + \ or ESC + = ksh93 - set -o viraw # This will enable file or subdir completion ala bash. ksh88 or 93 - ESC + / # The best tip! This the search facility of ksh. D you just hate it when you have to press the arrow keys 10 times to get your command history, change it and run it again? With this, you can search the keyword of the command, retype it and run it in less time you press that key 10 times... :) This will also work with bash with set -o vi. -- regards, Andre | http://www.varon.ca _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

