User Tools

Site Tools


notes:sysprog:projects:wut0

SYSPROG PROJECT: Writing Unix Tools (wut0)

OBJECTIVE

To apply your burgeoning sysprog skills in the writing of familiar UNIX tools.

PROGRAM

It is your task to implement a simple (core functionality, don't worry about the plethora of command-line arguments available in the regular tools) version of one of the following tools:

  • last
  • head
  • tail

EXPANDED FUNCTIONALITY

If you'd like to implement a few additional features (ie via command-line arguments) you can check out getopt(3), which is what the tools on the system use to parse arguments.

SUBMISSION

Your standard submission logic applies:

lab46:~/src/sysprog/wut#$ submit sysprog wut# tool.c
...
notes/sysprog/projects/wut0.txt · Last modified: 2018/01/22 13:45 by wedge