Annotation of Examples/AppKit/Backspace/convertToBackOs, revision 1.1.1.1

1.1       root        1: #!/bin/csh -f
                      2: # script to mung all BackSpace .o files in a directory into .BackO files
                      3: # usage: convertToBackOs <directoryName>
                      4: # This script is useful to convert those old 1.0 BackSpace modules into
                      5: # ones that 3.0 BackSpace will find.
                      6: 
                      7: if ($#argv == 0) then
                      8:        echo "usage: convertToBackOs <directoryName>"
                      9:        echo ""
                     10:        echo "    This shell script renames BackSpace v1.0's .o files so that"
                     11:        echo "    they can be found and loaded by BackSpace v3.0"
                     12:        echo ""
                     13:        exit (1)
                     14: endif
                     15: 
                     16: cd $1
                     17: 
                     18: foreach file (*View.o)
                     19:        echo Converting ${file}
                     20:        mv ${file} `echo ${file} | sed "s/View.o/View.BackO/"`
                     21: end

unix.superglobalmegacorp.com

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