Mercurial > repo
annotate bin/sed2 @ 9508:f6b0e165c341
<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author | HackBot |
---|---|
date | Sat, 29 Oct 2016 19:30:14 +0000 |
parents | 00637a9cc07c |
children |
rev | line source |
---|---|
9499 | 1 #!/bin/bash |
9508
f6b0e165c341
<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
HackBot
parents:
9506
diff
changeset
|
2 /bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi |
9506 | 3 echo "$*; $3" |