File: sed.sh

package info (click to toggle)
postgresql-filedump 17.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: ansic: 3,554; sql: 152; perl: 118; sh: 24; makefile: 23
file content (7 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh

sed -e "s/logid ....../logid ....../" \
    -e "s/recoff 0x......../recoff 0x......../" \
    -e "s/Checksum: 0x..../Checksum: 0x..../" \
    -e "s/id: ....../id: ....../g" \
    -e "s/ 8< .*/ 8< [snipped]/"