Thread: slocate
View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Originally Posted by rcull View Post
Benson
It works and has been working for over a year. I use this regularly and find the '|more' extremely usefull. You can of course 'locate libcurl |more' its just more typing.
Rick
Sure it works, but you're replacing a standard command with a broken version. Replacing commands with stripped-down versions, supporting only a subset of functionality, but operating properly within that subset, is quite acceptable. Replacing commands with broken versions to save typing is quite ******ed. Have you ever heard of the alias built-in? Use that to save typing, and don't cram extra functionality into programs to break them!

(In case you're as familiar with tools as with UNIX, you should know that large screwdrivers (14" and up, often smaller ones too) generally have a hexagonal section below the handle, so a wrench may be used when more torque is required to bust a stubborn screw loose.)
It's like saying "Sometimes I need to use a wrench on my screwdriver, so I'll make a screwdriver with a big @#$%ing handle sticking out the side so I can use it that way!"