script

Write a script which for each directory given on standard input (in a separate line)
prints the user with the largest number of files in this directory.
Example:

$ thewinneris << STOP
> /etc
> /tmp
> /home/users/jakubo
> STOP
root
killertrashman
jakubo
Topic archived. No new replies allowed.