https://github.com/lusingander/left
https://github.com/lusingander/left
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lusingander/left
- Owner: lusingander
- Created: 2019-12-22T17:16:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T02:58:13.000Z (about 6 years ago)
- Last Synced: 2025-01-16T16:24:00.623Z (about 1 year ago)
- Language: Haskell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
left
====
left - output the left part of files (like `head`/`tail` command)
## Usage
```
$ cat foo.txt
0123456789
0123456789
01234567890123456789
01234567890123456789
012345678901234567890123456789
012345678901234567890123456789
$ cat foo.txt | left -n 15
0123456789
0123456789
012345678901234
012345678901234
012345678901234
012345678901234
```