all: update site from swtch.com to 9fans.github.io

This commit is contained in:
Russ Cox 2017-09-01 13:16:43 -04:00
parent 6cb3a2b9c3
commit a399388593
26 changed files with 83 additions and 52 deletions

View file

@ -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),

View file

@ -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)!<a href="\1">\1</a>!g;
$text =~ s!(https://9fans.github.io/plan9port/unix)!<a href="\1">\1</a>!g;
open(OUT, ">$ARGV[$i]") || die "open $ARGV[$i]: $!";
print OUT $text;

View file

@ -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)

View file

@ -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

View file

@ -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" .

View file

@ -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)

View file

@ -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

View file

@ -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),

View file

@ -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),

View file

@ -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

View file

@ -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)

View file

@ -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)