projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ecdf734
)
Bell 32V development
author
Tom London
<tbl@research.uucp>
Sun, 4 Feb 1979 23:20:54 +0000
(18:20 -0500)
committer
Tom London
<tbl@research.uucp>
Sun, 4 Feb 1979 23:20:54 +0000
(18:20 -0500)
Work on file usr/src/cmd/news.sh
Co-Authored-By: John Reiser <jfr@research.uucp>
Synthesized-from: 32v
usr/src/cmd/news.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/usr/src/cmd/news.sh
b/usr/src/cmd/news.sh
new file mode 100755
(executable)
index 0000000..
d573c20
--- /dev/null
+++ b/
usr/src/cmd/news.sh
@@ -0,0
+1,18
@@
+NEWSDIR=/usr/news
+cd $NEWSDIR
+if [ $# = 0 ]
+then
+ echo News catalog :
+ ls -t
+else
+ for i in $*
+ do
+ if [ -f $i ]
+ then
+ echo ; echo $i news :
+ cat $i
+ else
+ echo ; echo \< News item \"$i\" not found \>
+ fi
+ done
+fi