Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #333630
| From | Snit <usenet@gallopinginsanity.com> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Statistics on 15.11.2015. |
| Date | 2015-11-18 17:11 -0700 |
| Message-ID | <D27261DE.6498E%usenet@gallopinginsanity.com> (permalink) |
| References | (10 earlier) <D27239AF.64923%usenet@gallopinginsanity.com> <fhenfaua30.ae@rooftop.invalid> <D2724759.64939%usenet@gallopinginsanity.com> <fhem.zoa91afa@rooftop.invalid> <564d114b$0$8224$c3e8da3$cc4fe22d@news.astraweb.com> |
On 11/18/15, 5:01 PM, in article
564d114b$0$8224$c3e8da3$cc4fe22d@news.astraweb.com, "vallor"
<vallor@cultnix.org> wrote:
> On Wed, 18 Nov 2015 23:37:17 +0000, owl wrote:
>
>> Snit <usenet@gallopinginsanity.com> wrote:
>>> On 11/18/15, 2:26 PM, in article fhenfaua30.ae@rooftop.invalid, "owl"
>>> <owl@rooftop.invalid> wrote:
>>>
>>>> Snit <usenet@gallopinginsanity.com> wrote:
>>>>> On 11/18/15, 2:10 PM, in article nvjug83.ar3@rooftop.invalid, "owl"
>>>>> <owl@rooftop.invalid> wrote:
>>>>>
>>>>>>> The one Apple uses here:
>>>>>>>
>>>>>>> <https://support.apple.com/en-us/HT204215>
>>>>>>> -----
>>>>>>> Find device backups in ~/Library/Applicatio
>>>>>>> Support/MobileSync/Backup/
>>>>>>> -----
>>>>>>>
>>>>>>> In other words: the user's home folder.
>>>>>>>
>>>>>>>
>>>>>> If the tilde refers to "the user's home folder", can you explain the
>>>>>> following without referring to the manpage?
>>>>>>
>>>>>> anon@lowtide:~$ echo ~ # OK, that's my home directory
>>>>>> /home/anon anon@lowtide:~$ echo ~anon # why is this not
>>>>>> /home/anonanon? /home/anon anon@lowtide:~$ echo ~anona # why is
>>>>>> this not /home/anonanona? ~anona anon@lowtide:~$ echo ~root # why
>>>>>> is this not /home/anonroot? /root anon@lowtide:~$
>>>>>
>>>>> You changed your defaults. So?
>>>>>
>>>>>
>>>> What are you talking about? I didn't change anything. Read the
>>>> manpage for bash like I told you.
>>>>
>>> Comes down to when I see what Apple shows in their tech doc:
>>>
>>> <https://support.apple.com/en-us/HT204215>
>>> -----
>>> Find device backups in ~/Library/Applicatio
>>> Support/MobileSync/Backup/
>>> -----
>>>
>>> Unlike you, without using any manpage or anything else I know they mean
>>> a folder in the user's home folder.
>>>
>>> Now you can also name files with a tilde in them. Looks like you may
>>> have done that. Whatever. Not really interested right now in edge cases
>>> and puzzles... though I admit at times those can be fun. :)
>>>
>>>
>> You are an idiot. The explanation for what is happening is right there
>> in the bash manpage, under the "Tilde Expansion" heading. I posted this
>> already about six or eight levels above in this thread, but even with it
>> staring you right in the face you resist understanding.
>> Congratulations. It takes a championship caliber narcissistic stupidity
>> to cling to a mistaken position with such intensity.
>
> ffs, just quote the thing.
>
> EXPANSION
> [...]
> 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 possi?
> ble login name. If this login name is the null string,
> the tilde is replaced with the value of the shell param?
> eter HOME. If HOME is unset, the home directory of the
> user executing the shell is substituted instead. Other?
> wise, the tilde-prefix is replaced with the home direc?
> tory 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 OLD?
> PWD, if it is set, is substituted. If the characters
> 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
> argument. If the characters following the tilde in the
> tilde-prefix consist 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 immediately following a : or the first =. In
> these cases, tilde expansion is also performed. Conse?
> quently, one may use filenames with tildes in assign?
> ments to PATH, MAILPATH, and CDPATH, and the shell
> assigns the expanded value.
>
But, seriously, without even looking at that I am sure YOU would know what
folder to go to when Apple pointed to:
<https://support.apple.com/en-us/HT204215>
-----
Find device backups in ~/Library/Application Support/MobileSync/Backup/
-----
If I am wrong please let me know. :)
--
* OS X / Linux: What is a file? <http://youtu.be/_dMbXGLW9PI>
* Mint MATE Trash, Panel, Menu: <http://youtu.be/C0y74FIf7uE>
* Mint KDE working with folders: <http://youtu.be/7C9nvniOoE0>
* Mint KDE creating files: <http://youtu.be/N7-fZJaJUv8>
* Mint KDE help: <http://youtu.be/3ikizUd3sa8>
* Mint KDE general navigation: <http://youtu.be/t9y14yZtQuI>
* Mint KDE bugs or Easter eggs? <http://youtu.be/CU-whJQvtfA>
* Easy on OS X / Hard on Linux: <http://youtu.be/D3BPWANQoIk>
* OS / Word Processor Comparison: <http://youtu.be/w6Qcl-w7s5c>
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