diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-06 14:15:43 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-06 14:15:49 -0800 |
commit | 3eea219548e84efdbc3148ce378fcba865f97a01 (patch) | |
tree | 6ece594f60ddff038cf9c1d94b99d8d66a00bc20 /tools/maybe-replace | |
parent | 1458563f00deebbbcf3e8049dc90157fb825fae3 (diff) | |
download | tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.gz tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.bz2 tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.xz tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.zip |
Add basic source formatting tools
Diffstat (limited to 'tools/maybe-replace')
-rwxr-xr-x | tools/maybe-replace | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/maybe-replace b/tools/maybe-replace new file mode 100755 index 0000000..97bd19c --- /dev/null +++ b/tools/maybe-replace @@ -0,0 +1,3 @@ +#!/bin/bash -eu +cat > "$1.tmp" +maybe-mv "$1.tmp" "$1" |