Mercurial > repo
view bin/sled @ 11281:32b4d8cdda54
<oerjan> le/rn paraconsistent//There has been a lot of work on paraconsistent logics, although there hasn\'t been a lot of work on them.
author | HackBot |
---|---|
date | Sun, 24 Dec 2017 19:58:10 +0000 |
parents | 0ebb25d333b4 |
children | 1e6e3a07b5f4 |
line wrap: on
line source
[[ "$1" == ?*//* ]] || { echo 'usage: sled file//script'; exit 1; }; key="${1%%//*}"; value="${1#*//}"; [[ -f "$key" ]] || { echo 'Rosebud!'; exit 1; }; sed -i "$value" "$key" ;