Re: Great SWT Program
- From: Lars Enderin <lars.enderin@xxxxxxxxx>
- Date: Sun, 09 Dec 2007 12:57:53 GMT
nebulous99@xxxxxxxxx skrev:
On Dec 6, 10:08 am, b...@xxxxxxxxxxx (Bent C Dalager) wrote:
[implied vicious insult deleted]
No.Amazingly, shells /do/ know how to auto-complete file names. [hyperboleBut they also only know that the first thing on the command line is a
snipped]
file name.
Yes. The shell cannot be preprogrammed to know of every present shell
command, let alone every future one. I could write an "asswipe" binary
This is hilarious. Did you ever use Unix or Linux? The simple explanation is of course that ALL command line arguments can be file names/paths, except if they start with a minus sign (essentially). If you don't want completion, you simply don't try to complete the argument. If you do try to complete the argument, the shell assumes that you want an existing file and uses its knowledge of the file system.
Arguments that contain wildcards even get expanded/completed automatically to file paths.
I don't know why you work so hard to prove your ignorance.
.
- Follow-Ups:
- Re: Great SWT Program
- From: twerpinator
- Re: Great SWT Program
- From: Andreas Leitgeb
- Re: Great SWT Program
- References:
- Re: Great SWT Program
- From: nebulous99
- Re: Great SWT Program
- From: Bent C Dalager
- Re: Great SWT Program
- From: bbound
- Re: Great SWT Program
- From: Bent C Dalager
- Re: Great SWT Program
- From: nebulous99
- Re: Great SWT Program
- Prev by Date: Re: abstract vs. final
- Next by Date: Re: performance question
- Previous by thread: Re: Great SWT Program
- Next by thread: Re: Great SWT Program
- Index(es):
Relevant Pages
|
|