Annotation of researchv10no/cmd/asd/setown, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: # setown: change owner to $1 and group to bin, portably
                      3: 
                      4: f=$1
                      5: shift
                      6: if [ -f /etc/chown ]
                      7: then   if [ -f /bin/chgrp ]
                      8:        then    /etc/chown $f "$*"
                      9:                chgrp bin "$*"
                     10:        else    /etc/chown $f,bin "$*"
                     11:        fi
                     12: else   chown $f "$*"
                     13:        chgrp bin "$*"
                     14: fi

unix.superglobalmegacorp.com

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