Using awk programs with form files awk programs are particularly suited to generating reports or forms. In the following examples, we shall use the following textual data as the input file. The file is called awktext . A heading has been provided here for clarity, there is no header in the data file. This involves specifying a pattern to match for each input line scanned.
User input is shown in bold type.
Write an awk program which prints out all input lines where a computer has 4096 Kb of memory. After running the program successfully, enter it in the space provided below. Comments can be placed anywhere on the line. The example below shows the comment placed after the action. Remember that the comment ends at the end of the line.