Liste des Groupes | Revenir à cl awk |
On 1/3/2024 10:52 pm, Janis Papanagnou wrote:Why did you post that link to an apparently unrelated question which has all wrong answers (or incomplete at best - the effect of setting `NF` is undefined behavior per POSIX and so will do different things in different awk variants and even in 1 awk variant can behave differently depending on whether you're setting it to a higher or lower than original value)?>Use of `NF` in awk command - Stack Overflow
BEGIN { FS="] " }
{ for (i=1; i<=NF; i++)
print $i
}
https://stackoverflow.com/questions/47216786/use-of-nf-in-awk-command
Les messages affichés proviennent d'usenet.