Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- testssed|⇒ cat run.sh
- #! /bin/sh
- # index.edit -- compile list of index entries for editing.
- grep "^\.XX" $* | sort -u |
- sed '
- s/^\.XX \(.*\)$/\/^\\.XX \/s\/\1\/\1\//'
- testssed|⇒ cat test
- .XX "sed, substitution command"
- testssed|⇒ ./run.sh test
- /^\.XX /s/"sed, substitution command"/"sed, substitution command"/
Add Comment
Please, Sign In to add comment