162

Input/Output
Format Example

  • Here's a small script which prints the UNIX password file using the Perl format feature


    Exercise
    1. Run the format example script.
      The script reads /etc/passwd and prints a report to STDOUT.
    2. Take a look at the script itself (click the "format" icon).
    No
    Hint
    To
    Start

    format