Annotation of researchv10no/cmd/nohup.sh, revision 1.1

1.1     ! root        1: trap "" 1 15
        !             2: X=""
        !             3: if [ -t 1 ]
        !             4: then   X=1
        !             5: fi
        !             6: if [ -t 2 ]
        !             7: then   X=${X}2
        !             8: fi
        !             9: 
        !            10: case "$X" in
        !            11: 
        !            12: 12)    echo "nohup: sending output to 'nohup.out'"
        !            13:        exec nice -5 "$@" >>nohup.out 2>&1 ;;
        !            14: 
        !            15: 2)     echo "nohup: sending std error to 'nohup.out'" 1>&2
        !            16:        exec nice -5 "$@" 2>>nohup.out ;;
        !            17: 
        !            18: 1)     echo "nohup: sending output to 'nohup.out'"
        !            19:        exec nice -5 "$@" >>nohup.out ;;
        !            20: 
        !            21: "")    exec nice -5 "$@" ;;
        !            22: 
        !            23: esac

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.