Rich Lafferty's LiveJournal (mendel) wrote,
Rich Lafferty's LiveJournal
mendel

  • Mood:

bash weirdness

This is just odd. Tell me how this functionality could be useful:
   $ export testf='() { echo test; }'
   $ bash
   $ testf
   test
In ten years I've never thought "Boy, I wish I could import shell functions from my environment upon invocation", but maybe I'm missing something obvious.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment