Changeset 464 for locker/bin


Ignore:
Timestamp:
Oct 13, 2007, 10:55:00 PM (17 years ago)
Author:
andersk
Message:
As it turns out, bash sucks too.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/scripts-ssh

    r463 r464  
    1111        -o GlobalKnownHostsFile=/afs/athena.mit.edu/contrib/scripts/ssh/known_hosts \
    1212        -o UserKnownHostsFile=/dev/null \
    13         scripts.mit.edu -l "$lname" "$(printf "%q " "$@")"
     13        scripts.mit.edu -l "$lname" "$(printf "''%q " "$@")"
     14
     15# ssh gets quoting wrong, so we do it ourself with printf "%q ".
     16# Except bash 2 gets printf "%q " wrong for empty arguments, so we use
     17# printf "''%q " instead.
     18# Isn't software fun?
Note: See TracChangeset for help on using the changeset viewer.