Last active 1752986921

gaiety's Avatar gaiety revised this gist 1752986921. Go to revision

1 file changed, 7 insertions

head-tail-trim.sh(file created)

@@ -0,0 +1,7 @@
1 + echo foo\nbar\nbaz | head -n 2
2 + # foo
3 + # bar
4 +
5 + echo foo\nbar\nbaz | tail -n 2
6 + # bar
7 + # baz
Newer Older