Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPAC
On Thu, Jul 21, 2016 at 03:38:40PM -0600, Bob Proulx wrote:
> The original option letter used by test to check for the presence of a
> symlink was -h. I don't know why. But in those days the only test
> option to test for a symlink was -h. The -L came later. This legacy
> is still visible in th
On 7/21/16 5:38 PM, Bob Proulx wrote:
> I think the statement in the Apple man page is there because someone
> liked -L over -h and wanted to scare everyone into using one over the
> other.
It's just the difference between BSD and Linux man pages.
--
``The lyf so short, the craft so long to ler
Reuti wrote:
> While we are on this: wondering about the difference about -h and -L I found
> that `man test` outputs on OS X:
>
> " -h file True if file exists and is a symbolic link. This
> operator is retained for compatibility with pre-
>vious versions of this
On 7/21/16 11:56 AM, Reuti wrote:
>> Yes. All of the file-testing operators follow a symlink, EXCEPT for the
>> ones that specifically test whether the operand is a symlink (-h and -L).
>
> While we are on this: wondering about the difference about -h and -L I found
> that `man test` outputs on
On Thu, Jul 21, 2016 at 05:56:13PM +0200, Reuti wrote:
> While we are on this: wondering about the difference about -h and -L I found
> that `man test` outputs on OS X:
>
> " -h file True if file exists and is a symbolic link. This
> operator is retained for compatibility with pre-
>
Hi,
> Am 21.07.2016 um 15:39 schrieb Greg Wooledge :
>
> On Wed, Jul 20, 2016 at 04:43:13PM -0700, Adam McKenna wrote:
>> -d file
>> True if file exists and is a directory.
>>
>> The operator also returns True if the file exists and is a symlink to a
>> directory
>
> Yes. Al
Hi,
> Am 21.07.2016 um 01:43 schrieb Adam McKenna :
>
> BASH Man page conditional expressions:
>
>-d file
> True if file exists and is a directory.
>
> This is also stated at https://www.gnu.org/software/bash/manual/bashref.html
>
> The operator also returns True if the f
On Wed, Jul 20, 2016 at 04:43:13PM -0700, Adam McKenna wrote:
>-d file
> True if file exists and is a directory.
>
> The operator also returns True if the file exists and is a symlink to a
> directory
Yes. All of the file-testing operators follow a symlink, EXCEPT for the
o
BASH Man page conditional expressions:
-d file
True if file exists and is a directory.
This is also stated at https://www.gnu.org/software/bash/manual/bashref.html
The operator also returns True if the file exists and is a symlink to a
directory
-bash-4.1$ file foo
foo: dir
10 matches
Mail list logo