Re: change dir to //

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/1/17 Andre Robatino <robatino@xxxxxxxxxxxxxxxxx>:
> Andre Robatino <robatino <at> fedoraproject.org> writes:
>
>> Good question - a directory listing shows it's in /, as expected, but $PWD is
>> wrong, and only when there are exactly 2 /'s. The same thing happens in F13,
>> F14, and Rawhide. It only happens in sh/bash, and not in csh/tcsh, ksh, or zsh.
>
> More generally, it happens for anything like "//usr/bin" as well - you end up in
> the expected directory, but "echo $PWD" shows the double slash.

Actually I'm testing things like

while [ true ]; do
  ls ///////////////////////////////////////////////////(1400 /)
done

it works, but when I try

while [ true ]; do
  ls ///////////////////////////////////////////////////(5400 /)
done

I get "too long file name" warning.

Also works for ~/// and ///dir1///dir2

>
>
>
>
> --
> test mailing list
> test@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe:
> https://admin.fedoraproject.org/mailman/listinfo/test
>



-- 
Best regards,
Michal

http://eventhorizon.pl/
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux