Changes

Jump to: navigation, search

OPS435 Assignment 1 A

74 bytes added, 00:37, 14 February 2018
Instructions
* <b><code>filename1 filename2 </code></b> etc ... - any number of filenames from 1 to as many as the command-line supports.
If the first argument is <b><code>--user</code></b> or <b><code>-u</code></b>, then all the usage report to be generated should be based on user only. Only regular users should be included in the user based usage report (excluding super user).
If there is no filename provided at the command line, your program should get gets the login records from the 'last' command with the appropriate flags.
If there is more than one filename provided, merged merges all the files together with the first one at the top and the last one at the bottom. Read and process the file contents in that order in your program.
=== Header ===
1,760
edits

Navigation menu