From a39938859387987d5aac6201600154a68fad7c40 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 1 Sep 2017 13:16:43 -0400 Subject: all: update site from swtch.com to 9fans.github.io --- unix/README | 2 +- unix/man/bio.3 | 2 +- unix/man/fixurls | 2 +- unix/man/fmtinstall.3 | 2 +- unix/man/fmtstrtod.3 | 2 +- unix/man/isalpharune.3 | 2 +- unix/man/mk.1 | 2 +- unix/man/mkfile | 2 +- unix/man/print.3 | 2 +- unix/man/quote.3 | 2 +- unix/man/regexp9.3 | 2 +- unix/man/rune.3 | 2 +- unix/man/runestrcat.3 | 2 +- unix/mkfile | 10 ++++++---- 14 files changed, 19 insertions(+), 17 deletions(-) (limited to 'unix') diff --git a/unix/README b/unix/README index 602ee262..827982ec 100644 --- a/unix/README +++ b/unix/README @@ -1,5 +1,5 @@ This software was packaged for Unix by Russ Cox. Please send comments to rsc@swtch.com. -http://swtch.com/plan9port/unix +https://9fans.github.io/plan9port/unix diff --git a/unix/man/bio.3 b/unix/man/bio.3 index 3b8da2fa..0bc06e15 100644 --- a/unix/man/bio.3 +++ b/unix/man/bio.3 @@ -321,7 +321,7 @@ When reading, this is the number of bytes still available from the last read on the file; when writing, it is the number of bytes ready to be written. .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR open (2), .IR print (3), diff --git a/unix/man/fixurls b/unix/man/fixurls index e058b147..8c348477 100755 --- a/unix/man/fixurls +++ b/unix/man/fixurls @@ -24,7 +24,7 @@ for($i=0; $i<@ARGV; $i++){ } $text =~ s!../man(.)/([^.]*)\.html!$2$1.html!g; - $text =~ s!(http://swtch.com/plan9port/unix)!\1!g; + $text =~ s!(https://9fans.github.io/plan9port/unix)!\1!g; open(OUT, ">$ARGV[$i]") || die "open $ARGV[$i]: $!"; print OUT $text; diff --git a/unix/man/fmtinstall.3 b/unix/man/fmtinstall.3 index 13007d2a..ccca7fba 100644 --- a/unix/man/fmtinstall.3 +++ b/unix/man/fmtinstall.3 @@ -362,7 +362,7 @@ main(...) } .EE .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR print (3), .IR utf (7) diff --git a/unix/man/fmtstrtod.3 b/unix/man/fmtstrtod.3 index e2b1caef..c3894124 100644 --- a/unix/man/fmtstrtod.3 +++ b/unix/man/fmtstrtod.3 @@ -44,7 +44,7 @@ Therefore, it may be necessary to back up the input stream one character after calling .IR fmtcharstod . .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR fscanf (3) .SH DIAGNOSTICS diff --git a/unix/man/isalpharune.3 b/unix/man/isalpharune.3 index ecad654c..522e82b8 100644 --- a/unix/man/isalpharune.3 +++ b/unix/man/isalpharune.3 @@ -43,7 +43,7 @@ The names are self-explanatory. .PP The case-conversion routines return the character unchanged if it has no case. .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH "SEE ALSO .IR isalpha (3) , .IR "The Unicode Standard" . diff --git a/unix/man/mk.1 b/unix/man/mk.1 index b1eb25f5..abc8d669 100644 --- a/unix/man/mk.1 +++ b/unix/man/mk.1 @@ -648,7 +648,7 @@ x.tab.h:Pcmp -s: y.tab.h cp y.tab.h x.tab.h .EE .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR sh (1), .IR regexp9 (7) diff --git a/unix/man/mkfile b/unix/man/mkfile index 918aff8a..b80e2e18 100644 --- a/unix/man/mkfile +++ b/unix/man/mkfile @@ -31,4 +31,4 @@ MKSHELL=$PLAN9/bin/rc ./fixurls $target push:V: - rsync -e ssh -t *.html swtch:www/swtch.com/plan9port/unix/man + cp *.html $9fansweb/plan9port/unix/man diff --git a/unix/man/print.3 b/unix/man/print.3 index 06241398..f96df06e 100644 --- a/unix/man/print.3 +++ b/unix/man/print.3 @@ -426,7 +426,7 @@ void fatal(char *msg, ...) } .EE .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR fmtinstall (3), .IR fprintf (3), diff --git a/unix/man/quote.3 b/unix/man/quote.3 index dfeb2597..63f99bbb 100644 --- a/unix/man/quote.3 +++ b/unix/man/quote.3 @@ -143,7 +143,7 @@ for example the printed string will always be quoted; otherwise quotes will only be provided if necessary to avoid ambiguity. .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH "SEE ALSO .IR rc (1), .IR malloc (3), diff --git a/unix/man/regexp9.3 b/unix/man/regexp9.3 index ce9de14c..96ee03c3 100644 --- a/unix/man/regexp9.3 +++ b/unix/man/regexp9.3 @@ -194,7 +194,7 @@ fields of the .I match array elements should be used. .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH "SEE ALSO" .IR grep (1) .SH DIAGNOSTICS diff --git a/unix/man/rune.3 b/unix/man/rune.3 index 36873db9..4e3b44a2 100644 --- a/unix/man/rune.3 +++ b/unix/man/rune.3 @@ -180,7 +180,7 @@ is the null string, returns .IR s1 . .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR utf (7), .IR tcs (1) diff --git a/unix/man/runestrcat.3 b/unix/man/runestrcat.3 index 31db54f3..d338f6be 100644 --- a/unix/man/runestrcat.3 +++ b/unix/man/runestrcat.3 @@ -58,7 +58,7 @@ These functions are rune string analogues of the corresponding functions in .IR strcat (3). .SH SOURCE -.B http://swtch.com/plan9port/unix +.B https://9fans.github.io/plan9port/unix .SH SEE ALSO .IR rune (3), .IR strcat (3) diff --git a/unix/mkfile b/unix/mkfile index d05b297c..245ea2ed 100644 --- a/unix/mkfile +++ b/unix/mkfile @@ -64,7 +64,9 @@ mk-with-libs.tgz:V: tgz:V: libutf.tgz libfmt.tgz libregexp9.tgz libbio.tgz mk.tgz mk-with-libs.tgz -push: - rsync -e ssh -t *.tgz swtch.com:www/swtch.com/plan9port/unix - ssh swtch.com rm -f www/swtch.com/plan9port/unix/*.sha1 \ - www/swtch.com/plan9port/unix/*.md5 +push:V: + rm -f *.sha1 *.md5 *.sha256 + for (i in *.tgz) + sha1sum $i >$i.sha1 + cp *.tgz $9fansweb/plan9port/unix + cp *.tgz.sha1 $9fansweb/plan9port/unix -- cgit v1.2.3