[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature request: allow shif [n] with n > $#
From: |
Toralf Förster |
Subject: |
feature request: allow shif [n] with n > $# |
Date: |
Thu, 11 Apr 2019 22:18:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Given:
$> cat <<EOF >shift.sh
#!/bin/bash
#
shift 3
echo ">>${@}<<"
EOF
then a call with less than 3 parameter, eg. "./shift.sh 1 2" gives ">>1 2<<".
Whilst the man page does not deny this behaviour I do wonder if a feature
request to get ">><<" instead is sufficient here?
--
Toralf
PGP C4EACDDE 0076E94E
signature.asc
Description: OpenPGP digital signature
- feature request: allow shif [n] with n > $#,
Toralf Förster <=
- Re: feature request: allow shif [n] with n > $#, Chet Ramey, 2019/04/11
- Re: feature request: allow shif [n] with n > $#, Robert Elz, 2019/04/12
- Re: feature request: allow shif [n] with n > $#, konsolebox, 2019/04/12
- Re: feature request: allow shif [n] with n > $#, Toralf Förster, 2019/04/13
- Re: feature request: allow shif [n] with n > $#, Toralf Förster, 2019/04/13
- Re: feature request: allow shif [n] with n > $#, Greg Wooledge, 2019/04/15
- Re: feature request: allow shif [n] with n > $#, Greg Wooledge, 2019/04/15
- Re: feature request: allow shif [n] with n > $#, Robert Elz, 2019/04/15