Making the best CLI programs - Programming On Unix
Users browsing this thread: 3 Guest(s)
|
|||
If you intend to use awk, you shouldn't use any other tool, as it is a full blow programming language:
Code: $ weather | awk '{if (NR!=1) {print $5}}' The point here was to discuss CLI programs, while awk is a language interpreter. That would be like using python or perl to filter the output. |
|||