4

Recently I've been discussing Unix humor with a friend and we got to the topic of the sl command. I got the sources, compiled, installed on our development machine, and... got rather disappointed. The "official version" shows just the engine, with option to expand it to two cars.

I remember a version from a machine I had a couple years ago, that had a road crossing with barriers, a very long train, and dozens of options.

Where can I find that extended version?

2
  • what does sl do?
    – chovy
    Commented Aug 15, 2021 at 8:23
  • @chovy The full version displays an animated ascii-art of a railroad crossing, with a lengthy train passing through, The operation of the command can't be interrupted with ctrl-c, so if you mistyped 'ls' in a hurry, you're stuck for a good minute or so watching the train pass by and waiting for the animation to finish.
    – SF.
    Commented Aug 15, 2021 at 10:08

1 Answer 1

4

When I installed sl in my ubuntu box (apt-get install sl) I got the binary /usr/games/sl-h too. This is the version you are looking for. You can probably get the sources from the ubuntu packages pages (take a look here: http://nl.archive.ubuntu.com/ubuntu/pool/universe/s/sl/ ).

1
  • 1
    In the ubuntu packages page, there are two major version of sl now, one is 3.03 and another is 5.02. according to this man-page, manpages.ubuntu.com/manpages/bionic/man6/sl-h.6.html, and my discovery, I found only 3.03 version has command sl-h, 5.02 version doesn't.
    – Bruce
    Commented Jun 17, 2021 at 4:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .