|
|
1.1 root 1: #! /bin/sh
2: #
3: # @(#)setlength.sh 4.1 (Berkeley) 9/12/82
4: #
5: # set the length of the logfiles
6: set a=$1
7: set tmp=setl$$
8: shift
9: unset noclobber
10: foreach i ($argv)
11: tail -$a $i >/tmp/$tmp
12: cp /tmp/$tmp $i
13: chmod 666 $i
14: end
15: rm -f /tmp/$tmp
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.