Skip to content
quotesby

About this quote

What does it mean?
Porting a shell program is simpler than porting a complex script written for it.
In plain terms
Moving a shell is easier than moving its script.
What can you take from it?
Focus on moving the core tool before the scripts.

Where it applies

  • migrating to a new OS
  • upgrading system tools

Putting it to work

  • rewrite scripts after moving the shell
  • test shell functionality first

Questions to consider

  • What parts of a script are most likely to break when moving shells?

Another view

Scripts may rely on environment specifics that don't transfer automatically.

More from Larry Wall

  1. Interestingly enough, since subroutine declarations can come anywhere, you wouldn't have to put BEGIN {} at the beginning, nor END {} at the end. Interesting, …

    Permalink to quote #299
  2. : I've heard that there is a shell (bourne or csh) to perl filter, does : anyone know of this or where I can get it? Yeah, you filter it through Tom Christians…

    Permalink to quote #301
  3. I might be able to shoehorn a reference count in on top of the numeric value by disallowing multiple references on scalars with a numeric value, but it wouldn'…

    Permalink to quote #298

Related quotes

  1. How do Crays and Alphas handle the POSIX problem?

    Larry WallLarry Wall quote #113
  2. I would estimate that the number of programs it breaks in the world will be less than 10. As long as one of those 10 isn't CGI.pm, we're probably okay.

    Larry WallLarry Wall quote #188
  3. Now grows together that belongs together.

    Willy BrandtWilly Brandt quote #1