* Use seq instead of awk in the example, to make shorter code. I know it

won't work on BSD systems, but should I care?
This commit is contained in:
Sam Hocevar 2007-01-15 13:28:19 +00:00 committed by sam
parent 1a97ee7197
commit 8bfb3da41f

View File

@ -281,9 +281,7 @@ read the file (\fB\-T\ 60\fR) and disabling its \fBSIGSEGV\fR signal handler
Create an HTML-like file that loads 1000 times the same \fBhello.gif\fR image
and open it in \fBFirefox\fR in auto-increment mode (\fB\-A\fR):
.PP
\fB awk \(aqBEGIN { for(i=0; i<1000; i++) { print \\\fR
.br
\fB "<img src=\\"hello.gif#"i"\\">" }}\(aq > hello.html\fR
\fB seq -f \(aq<img src="hello.gif#%g">\(aq 1 1000 > hello.html\fR
.br
\fB zzuf -A -I \(aqhello[.]gif\(aq -r 0.001 firefox hello.html\fR
.SH RESTRICTIONS