Loading ...
Sorry, an error occurred while loading the content.

19132Re: [LINUX_Newbies] Script Help Required, please.

Expand Messages
  • ed
    Dec 1, 2004
      Hash: SHA1

      On Tue, 30 Nov 2004 23:56:22 +0000
      Brad Rogers <brad@...> wrote:

      > > Learn bash and it will become the highlight of your days.
      > Well, I wouldn't go that far..... :-)

      You have not experienced the deep joy(tm) of dropping some kung-foo
      script into a working system and see it spawn off a dozen carefully
      selected tasks, auto-magically.

      Seriously. I took over a system and have done many things that would
      take lazy programmers forever to accomplish. I think sh should be taught
      as a basic programming language in colleges instead of pascal. We'd all
      be better admins for it (and it ingrains some Linux into students, but
      they have no excuse not to use Linux for their C courses).

      I think half the power of bash is in utils like grep sed and tr. They're
      VERY powerful and well worth learning:

      MP3PLAYER="My favourite mp3 player is WINAMP"
      echo `echo $MP3PLAYER | sed 's/WINAMP/XMMS/'`

      The above does not qualify for deep joy (tm) but I'm sure you get the

      - --
      /-- _| | Regards. Please note, my PGP key ID has changed.
      |-- / | | If you are planning on sending me something encrypted
      \__ \_| | please update your keyring. Debian/OpenBSD. 53C9FC6C.
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.2.4 (GNU/Linux)

      -----END PGP SIGNATURE-----
    • Show all 10 messages in this topic