https://github.com/mecaneer23/sl
Cure your bad habit of mistyping, but with python. Original credit to mtoyoda.
https://github.com/mecaneer23/sl
locomotive python sl steam
Last synced: 3 months ago
JSON representation
Cure your bad habit of mistyping, but with python. Original credit to mtoyoda.
- Host: GitHub
- URL: https://github.com/mecaneer23/sl
- Owner: mecaneer23
- License: mit
- Created: 2022-10-24T03:25:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-20T02:24:38.000Z (11 months ago)
- Last Synced: 2025-09-20T08:44:17.516Z (9 months ago)
- Topics: locomotive, python, sl, steam
- Language: Python
- Homepage:
- Size: 86.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SL: Cure your bad habit of mistyping

SL (Steam Locomotive) runs across your terminal when you type "sl" as
you meant to type "ls". It's just a joke command, and not useful at
all.
Copyright 1993,1998,2014 Toyoda Masashi (mtoyoda@acm.org)
[Original repository (C)](https://github.com/mtoyoda/sl)
## Name
sl - display animations aimed to correct users who accidentally enter **sl** instead of **ls**.
## Synopsis
**sl** \[ **-acFGlr** \]
## Description
**sl** is a highly advanced animation program for curing your bad habit of
mistyping. SL stands for Steam Locomotive.
## Running without installation
```bash
python3 <(wget -qO- https://raw.githubusercontent.com/mecaneer23/sl/main/sl.py)
```
## Options
| Flag | Description |
| ------ | -------------------------------------------------------------------------------------- |
| **-a** | An accident is occurring. People cry for help. |
| **-c** | Different SL. C51 appears instead of D51. |
| **-F** | It flies. |
| **-G** | Different SL. Yellow TGV appears rather than D51. |
| **-l** | Little version. The more 'l's you add, the more passenger cars are added to the train. |
| **-r** | Make the train red. Can be combined with any other options |
## See Also
**ls**
## Bugs
It sometimes lists directory contents.