git.nynim.org
/
dotfiles.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.tmux.conf: Enable 24-bit truecolor support, misc tweaks
[dotfiles.git]
/
bin
/
trunc
1
#!/bin/sh
2
# usage: trunc FILE...
3
# truncate files
4
for
f
in
"$@"
;
do
5
cat
< /
dev
/
null
>
"
$f
"
6
done