Ross Drummond wrote: > Comments, improvements appreciated
It does the job, but it doesn't really follow the unix (Linux) philosophy for command line utilities. By and large, unix people like to be able to use smaller commands to build larger commands. This requires commands to be non-interactive. Interactive commands spawn utilities like "yes" (go on, type it into a shell), and "expect".
For example, what if I wanted to count the number of words in the chopped out piece of text file? It would be convenient to go:
rosschopper -f 34 -t 96 readme.txt | wc -w
or what about chopping out the same section from all files in a directory? Advanced unix users tend to factor out repetition and automate it wherever possible.
Cheers, Carl
