| Revision: | 2.3 | 
| Committed: | Sat Jan 1 11:04:04 1994 UTC (31 years, 10 months ago) by greg | 
| Content type: | application/x-csh | 
| Branch: | MAIN | 
| Changes since 2.2: | +8 -15 lines | 
| Log Message: | changed from using xform to getbbox | 
| # | User | Rev | Content | 
|---|---|---|---|
| 1 | greg | 2.1 | #!/bin/csh -f | 
| 2 | # SCCSid "$SunId$ LBL" | ||
| 3 | # | ||
| 4 | # Find scene dependencies in this directory and one level down | ||
| 5 | # | ||
| 6 | greg | 2.3 | set es=1 | 
| 7 | greg | 2.1 | onintr quit | 
| 8 | greg | 2.2 | rm -f EMPTY | 
| 9 | echo -n > EMPTY | ||
| 10 | sleep 1 | ||
| 11 | ( ls $* | sed -e 's@^@/^@' -e 's@$@$/d@' ; echo '/^EMPTY$/,$d' ) > /tmp/sed$$ | ||
| 12 | greg | 2.3 | getbbox -w $* >/dev/null | 
| 13 | set es=$status | ||
| 14 | if ( $es == 0 ) then | ||
| 15 | ls -tu | sed -f /tmp/sed$$ | sort | ||
| 16 | endif | ||
| 17 | greg | 2.1 | quit: | 
| 18 | greg | 2.3 | rm -f /tmp/sed$$ EMPTY | 
| 19 | exit $es |