Sha256: 31471c5a91f240fbec22ea0c28cdea33ee9a0480f2cf0e482aa1451d59c8967c

Contents?: true

Size: 194 Bytes

Versions: 16

Compression:

Stored size: 194 Bytes

Contents

selectlines shows all nonblank lines from the input


Example


cat file | selectlines



(echo 2; echo; echo; echo) | selectlines


=> 2


The result would be 2, with no blank lines after that

Version data entries

16 entries across 15 versions & 4 rubygems

Version Path
elonmusk-1.0.77 ./documentation/selectlines
ufos-1.0.77 ./documentation/selectlines
aliens-1.0.77 ./documentation/selectlines
freespeech-1.0.77 ./documentation/selectlines
elonmusk-1.0.72 ./documentation/selectlines
ufos-1.0.72 ./documentation/selectlines
aliens-1.0.72 ./documentation/selectlines
freespeech-1.0.72 ./documentation/selectlines
freespeech-1.0.71 ./documentation/selectlines
elonmusk-1.0.71 ./documentation/selectlines
ufos-1.0.71 ./documentation/selectlines
aliens-1.0.71 ./documentation/selectlines
elonmusk-1.0.56 ./de/documentation/selectlines
elonmusk-1.0.56 ./documentation/selectlines
elonmusk-1.0.53 ./documentation/selectlines
elonmusk-1.0.43 ./documentation/selectlines