I'm always amazed at the capabilities available with built-in Windows command line tools. My latest find is the FOR /F command, documented here:
https://ss64.com/nt/for_cmd.html
My main use for the awk command in *NIX is to pull out some piece of a line of text. I know awk is MUCH more powerful and even has its own robust language, but I've always used it to pull pieces of text out of structured output. And that's what FOR /F does for you. The syntax is completely different, but the capability is there and it's quite powerful.
No comments:
Post a Comment