projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Bell 32V development
[unix-history]
/
usr
/
src
/
cmd
/
news.sh
Commit
Line
Data
06c5161f
TL
1
NEWSDIR=/usr/news
2
cd $NEWSDIR
3
if [ $# = 0 ]
4
then
5
echo News catalog :
6
ls -t
7
else
8
for i in $*
9
do
10
if [ -f $i ]
11
then
12
echo ; echo $i news :
13
cat $i
14
else
15
echo ; echo \< News item \"$i\" not found \>
16
fi
17
done
18
fi