Aizer Danny-BDA023 <[EMAIL PROTECTED]> wrote:
> I have run into a weird scenario:
>
> echo "asdfp asdfp a" | tr -d [:space:]
>
> returns:
> asdf asdf a
>
> instead of:
> asdfpasdfpa
You need quotes to protect the brackets
from being interpreted by your shell:
$ echo "asdfp asdfp a" | tr -d '[:s
Hello,
I have run into a weird scenario:
echo "asdfp asdfp a" | tr -d [:space:]
returns:
asdf asdf a
instead of:
asdfpasdfpa
This happens when I have a file called 'p' (zero-bytes) in my home directory.
I run on RH9 (Shrike) Linux 2.4.20-8 with coreutils-4.5.3-19 and bash-2.05b-20.
This has