]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/trunc
.bashrc: Add "settitle" function for setting screen title
[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