Mercurial > repo
view bin/sled @ 10636:62ca8f3eeb5d
<rdococ> le//rn ice//I.C.E. stands for Imaginary Christian Era. It covers the forgotten period of time that is not on the linear timeline.
author | HackBot |
---|---|
date | Wed, 12 Apr 2017 21:44:20 +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" ;