Sha256: 37c39f838807d736924bdbab87cb65ab8365c56e68694d6ec67d4db26368db14

Contents?: true

Size: 331 Bytes

Versions: 34

Compression:

Stored size: 331 Bytes

Contents

Squeeze reads all input from stdin, then it prints it back omitting argument 1 line from the front, and argument 2 lines from the back

Example

squeeze 1 1

This would omit the first line and the last line

squeeze 5 3

This would omit the first 5 lines and the last 3 lines

squeeze 2 2 [file] also works, it outputs text to file

Version data entries

34 entries across 34 versions & 6 rubygems

Version Path
ufos-1.0.94 ./documentation/squeeze
aliens-1.0.94 ./documentation/squeeze
freespeech-1.0.94 ./documentation/squeeze
elonmusk-1.0.94 ./documentation/squeeze
politics-1.0.94 ./documentation/squeeze
democracy-1.0.94 ./documentation/squeeze
democracy-1.0.93 ./documentation/squeeze
ufos-1.0.91 ./documentation/squeeze
aliens-1.0.91 ./documentation/squeeze
freespeech-1.0.91 ./documentation/squeeze
elonmusk-1.0.91 ./documentation/squeeze
politics-1.0.91 ./documentation/squeeze
politics-1.0.89 ./documentation/squeeze
ufos-1.0.87 ./documentation/squeeze
aliens-1.0.87 ./documentation/squeeze
freespeech-1.0.87 ./documentation/squeeze
elonmusk-1.0.87 ./documentation/squeeze
politics-1.0.87 ./documentation/squeeze
ufos-1.0.88 ./documentation/squeeze
aliens-1.0.88 ./documentation/squeeze