Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #333462
| From | owl <owl@rooftop.invalid> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Statistics on 15.11.2015. |
| Date | 2015-11-18 03:52 +0000 |
| Organization | O.W.L. |
| Message-ID | <fhe00a.3rf@rooftop.invalid> (permalink) |
| References | (8 earlier) <D27123F6.64768%usenet@gallopinginsanity.com> <fheua03.apfa@rooftop.invalid> <D27137B6.64782%usenet@gallopinginsanity.com> <fheauf0.pa3@rooftop.invalid> <D2714025.64796%usenet@gallopinginsanity.com> |
Snit <usenet@gallopinginsanity.com> wrote:
> On 11/17/15, 8:27 PM, in article fheauf0.pa3@rooftop.invalid, "owl"
> <owl@rooftop.invalid> wrote:
>
>>>>>>>> Does it also amaze you that your home directory could be /home/snit,
>>>>>>>> yet you could still have a file "home/snit" somewhere else on your
>>>>>>>> system? Does it amaze you that "." or ".." can be part of a file
>>>>>>>> or directory name?
>>>>>>>
>>>>>>> Er? I think you misread something. The question is simple:
>>>>>>>
>>>>>>> Do you think the tilde (~) in a path means "the hard drive
>>>>>>> only"?
>>>>>>>
>>>>>>> I could have just said "no" but I gave a more complete answer.
>>>>>>
>>>>>> Why the exclamation here?
>>>>>>
>>>>>> "hint, the user's home folder... though you can also have it
>>>>>> as a part of file or folder name if you want!"
>>>>>
>>>>> I am excited to give the morons of CSMA a hint... and still see them fail.
>>>>> :)
>>>>>
>>>>> Hey, why don't you try to answer:
>>>>>
>>>>> Do you think the tilde (~) in a path means "the hard drive
>>>>> only"?
>>>>>
>>>>> Again, no tricks here.
>>>>>
>>>>
>>>> It means exactly what the shell's manpage says it means.
>>>>
>>> But you have no answer for it if means the hard drive only or something
>>> else?
>>>
>>
>> It's wherever you set it to be, which might be on a ramdisk.
>
> Seems you would agree it does not mean the hard drive only, nor is that even
> the default... and anyone saying so would be showing they are technically
> lost.
>
My shell is bash. Below is what the manpage has to say. It does not
address mount points, and I don't see why they would be relevant.
<quote>
Tilde Expansion
If a word begins with an unquoted tilde character (`~'), all of the
characters preceding the first unquoted slash (or all characters, if
there is no unquoted slash) are considered a tilde-prefix. If none of
the characters in the tilde-prefix are quoted, the characters in the
tilde-prefix following the tilde are treated as a possible login name.
If this login name is the null string, the tilde is replaced with the
value of the shell parameter HOME. If HOME is unset, the home direc???
tory of the user executing the shell is substituted instead. Other???
wise, the tilde-prefix is replaced with the home directory associated
with the specified login name.
If the tilde-prefix is a `~+', the value of the shell variable PWD
replaces the tilde-prefix. If the tilde-prefix is a `~-', the value of
the shell variable OLDPWD, if it is set, is substituted. If the char???
acters following the tilde in the tilde-prefix consist of a number N,
optionally prefixed by a `+' or a `-', the tilde-prefix is replaced
with the corresponding element from the directory stack, as it would be
displayed by the dirs builtin invoked with the tilde-prefix as an argu???
ment. If the characters following the tilde in the tilde-prefix con???
sist of a number without a leading `+' or `-', `+' is assumed.
If the login name is invalid, or the tilde expansion fails, the word is
unchanged.
Each variable assignment is checked for unquoted tilde-prefixes immedi???
ately following a : or the first =. In these cases, tilde expansion is
also performed. Consequently, one may use filenames with tildes in
assignments to PATH, MAILPATH, and CDPATH, and the shell assigns the
expanded value.
</quote>
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Statistics on 15.11.2015. Melzzzzz <mel@zzzzz.com> - 2015-11-15 03:27 +0100
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-17 10:22 -0800
Re: Statistics on 15.11.2015. Slimer <.m@nsn.s> - 2015-11-17 13:31 -0500
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-17 10:51 -0800
Re: Statistics on 15.11.2015. Slimer <.m@nsn.s> - 2015-11-17 18:37 -0500
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 17:00 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 00:29 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 17:40 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 01:22 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 18:35 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 02:54 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 19:59 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 03:27 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 20:35 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 03:52 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 21:09 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 04:57 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 22:33 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 06:28 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 08:49 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 16:37 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 10:30 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 18:07 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 11:18 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 18:29 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 11:40 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 18:54 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 12:09 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 19:18 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 12:31 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 19:41 +0000
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-18 12:14 -0800
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 13:26 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 21:10 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 14:20 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 21:26 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 15:18 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 23:37 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 16:41 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-18 23:51 +0000
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-18 16:06 -0800
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 17:13 -0700
Re: Statistics on 15.11.2015. vallor <vallor@cultnix.org> - 2015-11-19 00:01 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 17:11 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 01:06 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 18:18 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 01:27 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 19:19 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 03:15 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 20:32 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 04:07 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 21:31 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 07:43 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 08:31 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 19:12 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 16:06 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 23:12 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 16:19 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 23:53 +0000
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-19 16:04 -0800
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 17:07 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-20 00:28 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 18:56 -0700
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 01:04 +0000
Re: Statistics on 15.11.2015. chrisv <chrisv@nospam.invalid> - 2015-11-19 07:56 -0600
Re: Statistics on 15.11.2015. owl <owl@rooftop.invalid> - 2015-11-19 19:52 +0000
Re: Statistics on 15.11.2015. Sandman <mr@sandman.net> - 2015-11-19 08:31 +0000
Re: Statistics on 15.11.2015. Alan Baker <alangbaker@telus.net> - 2015-11-19 01:51 -0800
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 08:33 -0700
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 08:15 -0700
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-19 07:46 -0800
Re: Statistics on 15.11.2015. Sandman <mr@sandman.net> - 2015-11-19 08:28 +0000
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-19 08:17 -0700
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-17 22:13 -0800
Re: Statistics on 15.11.2015. Slimer <.m@nsn.s> - 2015-11-18 09:35 -0500
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-18 12:05 -0800
Re: Statistics on 15.11.2015. Slimer <.m@nsn.s> - 2015-11-18 17:13 -0500
Re: Statistics on 15.11.2015. Edward Stansfield <stansfield5REM6@linuxmail.org> - 2015-11-18 17:19 -0500
Re: Statistics on 15.11.2015. Slimer <.m@nsn.s> - 2015-11-18 18:38 -0500
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-18 15:19 -0700
Re: Statistics on 15.11.2015. Snit <usenet@gallopinginsanity.com> - 2015-11-17 12:55 -0700
Re: Statistics on 15.11.2015. Steve Carroll <fretwizzer@gmail.com> - 2015-11-17 13:36 -0800
csiph-web