Am 08. Dec, 2004 schwätzte Trent Shipley so:
skipping emacs stuff... :)
> 2. Bash, Korn, PERL, and Zsh. (Opinion)
>
> I started using Bash when I started using Linux back in 1998 or 1999 and have
> been using it ever since. Since I under-use my machine as a glorified
> typewriter, I hardly ever write a PERL script let alone a script in the
> default shell language. Nevertheless, there seem to be a number of jobs that
> ask for "familiarity" with Korn. Since Korn and now gratis and open (but not
> free), I am toying with the idea of compiling it and using it as my default
> shell. Then when asked if I am familiar with Korn, I can--without outright
> lying--say that I use it all the time.
I used to do lots of korn shell programming. I now do lots of bash
programming. There have only been a few times when I was consciously aware
of a difference for programming.
Granted, I have always had the option of moving to perl if that seemed to
be a better fit for the job at hand.
> _Learning the Korn Shell, 2nd Edition_ praises Zsh but goes into few detail,
> especially about scripting. Has anyone had experience with it?
I tried some stuff in zsh years ago that was only available ( so it seemed
) in zsh, but the docs sucked beyond description. Since then bash has
picked up programmable completion and my perl foo has improved, so I have
no motivation to play with zsh.
> Having read _Learning the Korn_, I am really impressed with Korn as a
> scripting language, yet I recognize how much less robust Korn is than PERL
> (or Python, I don't like lots of invisible but syntactically necessary tabs
> though, bad Make, bad Python). I understand why Korn was so popular as a
> glue language, what I do not understand I why PERL hasn't stollen more of
> Korn's thunder.
Because there are still places where perl isn't available. If you need a
script to absolutely work you use /bin/sh and go through much pain :).
Even there it's not write once, run anywhere ( just like java ) because
theoretically you're getting a POSIX complient shell, but bash and ksh
aren't bug free implementations of the POSIX shell standard, but are used
as /bin/sh on various operating systems.
Learn some of the major differences between bourne shell and bash/korn and
you'll be in good shape.
Unless you're trying to get sys_adm work on old machines you're probably
better off working on perl and php skills.
Ignoring documentation stuff ( of course ) ... ;-)
ciao,
der.hans
--
# https://www.LuftHans.com/ http://www.AZOTO.org/
# "The purpose of IT is to seamlessly and transparently provide the other
# 9/10's of the iceberg for people who need to work with chunks
# of floating ice." -- Strata Rose Chalup
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss