File: xref

package info (click to toggle)
lrslib 0.73-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,888 kB
  • sloc: ansic: 20,893; sh: 279; makefile: 252; perl: 97; csh: 51
file content (8 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/csh
#produce a nice listing of "incidence"
#add  printcobasis and incidence options to end of input file
# % lrs input output
# % xref output

grep represent $1 >! $1.x
perl -nle 'print $1 if /s (.+?)I/' $1 |sed 's/ ://'|sed 's/[^ ]*\* //' | sed 's/$/   #/'| nl >> $1.x