/usr/share/xcrysden/Awk/ginp.awk is in xcrysden-data 1.5.60-1build3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
cat "$1" | awk '
BEGIN {endline=0; n=1}
($1 ~ /OPTCOOR/ || $1 ~ /OPTBERNY/ || $1 ~ /OPTGEOM/) && (n != 1) {if ( endline == 0 ) {print "STOP"}
endline=1}
($1 ~ /END/) && (n != 1) {if ( endline == 0 ) {print "STOP"}
endline=1}
($1 ~ /STOP/) && (n != 1) {if ( endline == 0 ) {print "STOP"}
endline=1}
/a*/ { n++; if ( endline == 0 ) {print} }
'
|