Annotation of researchv8dc/netfs/pscript, revision 1.1.1.1

1.1       root        1: for i in `grep / /usr/net/people`
                      2: do
                      3:        x=`echo $i | sed 's;.*/;;'`
                      4:        echo $x
                      5:        magic $i
                      6:        cnt=`wc -l magic-done | awk '{print $1}'`
                      7:        if test $cnt = 0
                      8:        then
                      9:                awk < /usr/net/people '$0 == "'$i'" { on = 1; next}
                     10:                        on == 1 && NF == 1 { exit}
                     11:                        on == 1 {print}' > magic-done
                     12:                echo -n using the old one; wc -l magic-done
                     13:        fi
                     14:        (echo $i; cat magic-done) > $x-new
                     15: done
                     16: (grep '^#' /usr/net/people; cat *-new) > new-people
                     17: wc new-people

unix.superglobalmegacorp.com

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