bug-bash
[Top][All Lists]
Advanced

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

Re: backslash required for [\/]


From: Stephane CHAZELAS
Subject: Re: backslash required for [\/]
Date: Sun, 26 Dec 2010 20:26:30 +0000 (UTC)
User-agent: slrn/pre1.0.0-18 (Linux)

2010-12-25, 20:30(+08), jidanni@jidanni.org:
[...]
> While we are here, here's another interesting phenomena,
> $ touch aa
> $ echo a[ab]
> aa
> $ echo a[ab/]
> a[ab/]
> $ echo a[ab\/]
> a[ab/]
> $ mkdir ab #doesn't help...

That's the same as in every other shell and as specified by
POSIX. So, any other behavior would be a bug.

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_13_03

-- 
Stephane


reply via email to

[Prev in Thread] Current Thread [Next in Thread]