Mercurial > repo
view bin/sed @ 9966:2d2cd698f7e5
<oerjan> sled bin/5//s/[^;]*/cmd="${1-quote}"/
author | HackBot |
---|---|
date | Thu, 15 Dec 2016 00:51:10 +0000 |
parents | 2f89f6385868 |
children |
line wrap: on
line source
#!/bin/bash /bin/sed "$@" && if [[ $# == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi