/usr/lib/amanda/amcat.awk is in amanda-server 1:3.3.6-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | BEGIN{o=substr(f,length(f)-1,2);
if(substr(o,1,1)==".") o=substr(o,2,1);
if(o=="gz")print "/bin/gzip -dc"; else
print "cat"; exit; }
|