Annotation of researchv10no/cmd/upas/send/tryit, revision 1.1

1.1     ! root        1: #!/bin/sh
        !             2: set -x
        !             3: 
        !             4: > /usr/spool/mail/test.local
        !             5: echo "Forward to test.local" > /usr/spool/mail/test.forward
        !             6: echo "Pipe to cat > /tmp/test.mail" > /usr/spool/mail/test.pipe
        !             7: chmod 644 /usr/spool/mail/test.pipe
        !             8: 
        !             9: mail test.local <<EOF
        !            10: mailed to test.local
        !            11: EOF
        !            12: mail test.forward <<EOF
        !            13: mailed to test.forward
        !            14: EOF
        !            15: mail test.pipe <<EOF
        !            16: mailed to test.pipe
        !            17: EOF
        !            18: mail dutoit!bowell!test.local <<EOF
        !            19: mailed to dutoit!bowell!test.local
        !            20: EOF
        !            21: 
        !            22: sleep 60
        !            23: 
        !            24: ls -l /usr/spool/mail/test.*
        !            25: ls -l /tmp/test.mail
        !            26: echo ">>>test.local<<<"
        !            27: cat /usr/spool/mail/test.local
        !            28: echo ">>>test.mail<<<"
        !            29: cat /tmp/test.mail

unix.superglobalmegacorp.com

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