diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-07-26 20:53:33 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-07-26 20:53:33 -0400 |
| commit | 76f7ff1f56cf5eebc91549277992ccf92333bdef (patch) | |
| tree | be6fd97375dedc8ccd3a092189cc9922b52f6105 /seq | |
| parent | 3c54e6d3fa6f2d53e452d8a678498e6b92600a59 (diff) | |
rename shell scripts to *.sh, remove execute bit, let make rename and enable execution
Diffstat (limited to 'seq')
| -rwxr-xr-x | seq | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -1,25 +0,0 @@ -FIRST=1 -INCREMENT=1 - -if [ $# -eq 3 ]; then - FIRST=$1 - INCREMENT=$2 - LAST=$3 -elif [ $# -eq 2 ]; then - FIRST=$1 - LAST=$2; -elif [ $# -eq 1 ]; then - LAST=$1 -else - printf 'use one of:\n' - printf '\tseq LAST\n' - printf '\tseq FIRST LAST\n' - printf '\tseq FIRST INCREMENT LAST\n' - exit 1 -fi - -i=$FIRST -while [ $i -lt $LAST ]; do - printf '%d\n' $i - i=$((i + INCREMENT)) -done |
