Discussion:
FOR "SKIP"?
(too old to reply)
Tom Del Rosso
2024-04-12 15:43:42 UTC
Permalink
This page mentions a "skip" option

https://ss64.com/nt/syntax-wildcards.html#numeric

but this page doesn't mention it

https://ss64.com/nt/for.html

What's up with that?
--
Defund the Thought Police
Tom Del Rosso
2024-04-12 17:46:34 UTC
Permalink
Post by Tom Del Rosso
This page mentions a "skip" option
https://ss64.com/nt/syntax-wildcards.html#numeric
but this page doesn't mention it
https://ss64.com/nt/for.html
What's up with that?
It has a little bug in that blank lines are counted in the number of
lines to skip, whereas FOR...('command') would skip blank lines anyway.
--
Defund the Thought Police
JJ
2024-04-13 03:00:17 UTC
Permalink
Post by Tom Del Rosso
Post by Tom Del Rosso
This page mentions a "skip" option
https://ss64.com/nt/syntax-wildcards.html#numeric
but this page doesn't mention it
https://ss64.com/nt/for.html
What's up with that?
It has a little bug in that blank lines are counted in the number of
lines to skip, whereas FOR...('command') would skip blank lines anyway.
I got to remember that.

The reason why the FOR page doesn't mention it, is probably because it
doesn't describe the options in details.

Don't you hate documents which mention things at the wrong place, and don't
mention things at the right place?
Herbert Kleebauer
2024-04-13 07:20:13 UTC
Permalink
Post by JJ
Don't you hate documents which mention things at the wrong place, and don't
mention things at the right place?
Isn't "for /?" the right place?


Standardmäßig liefert "/F" den ersten, durch ein Leerzeichen getrennten
Token von jeder Zeile in jeder Datei. Leerzeilen werden übersprungen.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

skip=n - Gibt die Anzahl der Zeilen an, die am Anfang einer
Datei übersprungen werden.
Tom Del Rosso
2024-05-07 22:43:43 UTC
Permalink
Post by Herbert Kleebauer
Post by JJ
Don't you hate documents which mention things at the wrong place,
and don't mention things at the right place?
Isn't "for /?" the right place?
Yeah, I just forgot skip existed at some point. I think I used it once
but maybe I always overlooked it.
--
Defund the Thought Police
Loading...