Re: named streams, extended attributes, and posix

Thunder from the hill
2001-01-25T21:05:18Z

Daniel Phillips wrote:
>
> Michael Rothwell wrote:
> > Unfortunately, unix allows everything but "/" in filenames. This was
> > probably a mistake, as it makes it nearly impossible to augment the
> > namespace, but it is the reality.
>
> For some reason totally beyond my comprehension // inside a file name is
> taken to be the same as /, but if it wasn't it could be the stream
> separator. *sigh*
It seems that you mix up forward and backward slashes. a // means //,
but a \\ means a single \. So if you want a double backslash, you have
to write \\\\. Thus, removing double backslashes from NETBIOS names via
perl is: $name =~ s/\\\\//;
So what...?

Cheers!
Thunder
---
I did a "cat /boot/vmlinuz >> /dev/audio" - and I think I heard god...