Mercurial > repo
view bin/sled @ 10094:14d438f7ca2c
<Zarutian> learn tachyon is a particle yet to be invented. Meta theorized to be a force carrier in thimotimoline molecules.
author | HackBot |
---|---|
date | Thu, 05 Jan 2017 17:27:12 +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" ;