projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4_1c_2 release
[unix-history]
/
usr
/
src
/
ucb
/
berknet
/
setlength.sh
#! /bin/sh
#
# @(#)setlength.sh 4.1 (Berkeley) 9/12/82
#
# set the length of the logfiles
set
a
=
$1
set
tmp
=
setl$$
shift
unset
noclobber
foreach i
(
$argv
)
tail
-
$a $i
>/
tmp
/
$tmp
cp
/
tmp
/
$tmp $i
chmod
666
$i
end
rm
-f
/
tmp
/
$tmp