File: scripts.filter

package info (click to toggle)
crmsh 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,980 kB
  • sloc: python: 50,399; sh: 1,207; makefile: 255; xml: 243; exp: 234; awk: 22
file content (4 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (7)
1
2
3
4
#!/usr/bin/awk -f
# 1. replace .EXT [path/]<cmd> <parameter> with .EXT <cmd> <parameter>
/\*\* localhost - crm --wait --no configure load update (\/tmp\/crm-tmp-.+)/ { gsub(/.*/, "<<temporary file>>", $NF) }
{ print }