Chet, on Solaris the /devices filesystem does not support extended
attributes (O_XATTR), yet cd -@ returns 0 (success):
./bash -c 'cd -@ /devices 2>/dev/null; echo $?'
0
~/bin/ksh -c 'cd -@ /devices 2>/dev/null; echo $?'
1
truss shows that bash gets errno==EINVAL but then uses
chdir("/devices") i
On 6 November 2013 13:16, Joshuah Hurst wrote:
> Chet, on Solaris the /devices filesystem does not support extended
> attributes (O_XATTR), yet cd -@ returns 0 (success):
>
> ./bash -c 'cd -@ /devices 2>/dev/null; echo $?'
> 0
> ~/bin/ksh -c 'cd -@ /devices 2>/dev/null; echo $?'
> 1
>
> truss show
A few years ago, I had an idea for bash, which I recently remembered. I
never cared about it enough to propose it, but I figured I should share
in case it is helpful to someone else.
In vim, you can get access to multiple yanks/cuts/kills, but you can't
in bash's vi-mode. It would be a good featur
On 11/6/13, 7:16 AM, Joshuah Hurst wrote:
> Chet, on Solaris the /devices filesystem does not support extended
> attributes (O_XATTR), yet cd -@ returns 0 (success):
Thanks for the report. This will be fixed for bash-4.3.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
On 11/5/13, 5:20 PM, Lionel Cons wrote:
> Chet, below is a simple testcase for cd -@ / O_XATTR support:
>
> ./bash -c 'set -o errexit ; touch foo ; runat foo "echo hello1
>> myxattr" ; cd -@ foo ; exec {n}<>myxattr ; cd -P .. ; cat <&$n ;
> true'
>
> This should print 'hello1'.
>
> Any suggestio
On 2013-11-06 22:23:41 -0500, Chet Ramey wrote:
> I'll think about it. I generally don't like to add test cases for features
> that are available on so few platforms.
Why? Surely that is the place where such test cases would be most
valuable?
pgpkMsDg4AKUh.pgp
Description: PGP signature