Questions
- What are the two parts of an
awkcommand? (Choose two.)- action
- expression
- pattern
- command
- E. order
- What does
{print $0}do in anawkcommand?- It prints the name of the script that you’re running, because
$0is the bash positional parameter that hold the name of the script. - It prints the value that was assigned to the
0variable. - It prints all fields of a record.
- It’s an invalid command that doesn’t do anything.
- It prints the name of the script that you’re running, because
- You want to perform an exact, whole-word match for all lines that contain a certain text string. Which of the following
awkoperators would you use?===eq~
- Where is the best place to define values for
FSandOFS?- In the END section of an
awkcommand. - You can’t. They already have pre-defined values.
- In the...
- In the END section of an