Adding web and gopher scripts
This commit is contained in:
1 parent
56f232f3b2
commit
34d5596cca
2 files changed
+22
No files matched your search
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#/bin/ksh
|
||||
|
||||
gopher gopher://sdf.org:70/1/users/scm/
|
||||
|
||||
exit 0
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#/bin/ksh
|
||||
|
||||
file=$(date +"%Y-%m")
|
||||
|
||||
wget -O /sdf/arpa/ns/s/scm/index.html https://scm.sdf.org
|
||||
|
||||
html2text -o /sdf/arpa/ns/s/scm/$file -ascii -style pretty index.html
|
||||
|
||||
cat /sdf/arpa/ns/s/scm/$file > .plan
|
||||
|
||||
mv /sdf/arpa/ns/s/scm/$file /sdf/arpa/ns/s/scm/gopher
|
||||
|
||||
chmod 754 /sdf/arpa/ns/s/scm/gopher/$file
|
||||
|
||||
rm /sdf/arpa/ns/s/scm/index.html
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user