Comment 1 for bug 1705338

Revision history for this message
Rolf Leggewie (r0lf) wrote :

$ file /usr/bin/keychain
/usr/bin/keychain: POSIX shell script, ASCII text executable, with escape sequences
leggewie@work:~$ checkbashisms /usr/bin/keychain
possible bashism in /usr/bin/keychain line 384 (sleep only takes one integer):
  sleep 0.5; counter=$(( $counter + 1 ))
possible bashism in /usr/bin/keychain line 408 ($(OS|MACH)TYPE):
 [ -n "$OSTYPE" ] || getos
possible bashism in /usr/bin/keychain line 411 ($(OS|MACH)TYPE):
 case "$OSTYPE" in
possible bashism in /usr/bin/keychain line 1120 ('command' with option other than -p):
   if command -v ${a}-agent >/dev/null; then
possible bashism in /usr/bin/keychain line 1129 ('command' with option other than -p):
   command -v ${a}-agent >/dev/null || continue
possible bashism in /usr/bin/keychain line 1351 ($HOST(TYPE|NAME)):
[ -z "$hostopt" ] && hostopt="${HOSTNAME}"