---
title: "It is easier to port a shell than a shell script. — Larry Wall Quote #300 | QuotesBy.net"
description: "It is easier to port a shell than a shell script. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # It is easier to port a shell than a shell script.

[Larry Wall](https://quotesby.net/Larry-Wall)\#300

[Software](https://quotesby.net/Larry-Wall/software/)[Compatibility](https://quotesby.net/Larry-Wall/compatibility/)[Migration](https://quotesby.net/topics/migration/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIt%20is%20easier%20to%20port%20a%20shell%20than%20a%20shell%20script.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F300%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIt%20is%20easier%20to%20port%20a%20shell%20than%20a%20shell%20script.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F300%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F300%2F)

## About this quote

What does it mean?Porting a shell program is simpler than porting a complex script written for it.In plain termsMoving 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](https://quotesby.net/Larry-Wall/299/ "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](https://quotesby.net/Larry-Wall/301/ "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](https://quotesby.net/Larry-Wall/298/ "Permalink to quote 298")

## Related quotes

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

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#113](https://quotesby.net/Larry-Wall/113/ "Permalink to 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 Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#188](https://quotesby.net/Larry-Wall/188/ "Permalink to quote 188")
3. > Now grows together that belongs together.

[Willy Brandt](https://quotesby.net/Willy-Brandt)[Willy Brandt quote \#1](https://quotesby.net/Willy-Brandt/1/ "Permalink to quote 1")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "It is easier to port a shell than a shell script.",
    "url": "https://quotesby.net/Larry-Wall/300/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #300",
            "item": "https://quotesby.net/Larry-Wall/300/"
        }
    ]
}
```
