linux_ws2122/awk/04-aufgabe.awk

9 lines
135 B
Awk
Raw Normal View History

2021-10-13 17:25:16 +00:00
#!/bin/awk
BEGIN {
printf " user badname shell\n"
}
{
if (FNR >= 5 && FNR <= 10) printf "%s %s %s %s\n", FNR, $1, badname, $7;
}