Cover V06, I03
Article
Listing 1
Listing 2
Listing 3

mar97.tar


Listing 3: Sample output

Usual compile:
cc -o checkfor checkfor.c

Sample output:

[email protected]
[email protected]
[email protected]  End of forwarding chain.
[email protected]
[email protected]  Duplicate user/hostname combination!

Finished.


Command line invocation:

this.machine.com:/home/myaccnt> checkfor [email protected]


Standard input invocation:

this.machine.com:/home/myaccnt> cat userdata | checkfor -s


Contents of userdata:
myaccnt this.machine.com
othracct that.machine.com