On Sun, Dec 1, 2013 at 9:30 AM, zMan <[email protected]> wrote: > Ahhh. So you want the system to find the file "filename" *anywhere that it > exists* when you say "*verb* filename"? > > Hmm. Do I want that? Do I want what worked fine yesterday to stop working > today because a download or unzip created a new "filename"? Even > disambiguation via prompts would be extremely irritating. >
I still like using the Linux "locate" command for this. It does a data base lookup, which is maintained non-real-time via updatedb, and presents a list of entire path names which match the given input. I may need to look at getting the source and seeing if I can port it to z/OS UNIX. > > I might be interested in a proposal to make the path more pervasive -- so > it would pick up the first "filename" in the path *on any command*, sort of > like globbing. Haven't really thought that through, but it would at least > be predictable (modulo the same problem of "Yesterday, it picked up one > version of 'filename', in the third directory in my path, and today it > picks up another, in the second directory in my path", but that's at least > easy to figure out). > > Let me back it up a level: what's the problem you're trying to solve? Are > you trying to make things more user-friendly? I submit that the > unpredictability this introduces would have the opposite effect. > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
