diff options
Diffstat (limited to 'info/behead')
-rwxr-xr-x | info/behead | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/info/behead b/info/behead deleted file mode 100755 index 9bd4ced..0000000 --- a/info/behead +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env sh -# See LICENSE file for copyright and license details. - -beheading="$1" - -data="$(cat)" -lines="$(echo "${data}" | wc -l)" -lines=$(expr ${lines} - ${beheading} ) - -if test $lines -gt 0; then - echo "$(echo "${data}" | tail -n ${lines})" -fi |