[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tr -d [:space:] removes the letter 'p'
From: |
Aizer Danny-BDA023 |
Subject: |
tr -d [:space:] removes the letter 'p' |
Date: |
Sun, 17 Oct 2004 11:53:28 +0200 |
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 been recreated on several workstations with the same configuration.
Also, when a file called 's' is in my home directory I get for the above
command:
tr: only one string may be given when deleting without squeezing repeats.
Thanks for any ideas as to what causes this (a bug?)
/Danny
-----------
Danny Aizer
Software Configuration Manager
Motorola Israel Ltd.
Design Center / Fixed Data / Alarm & Control
mailto:address@hidden
Tel: +972-(0)3-568-4148
Fax: +972-(0)3-565-8668
6 Meitav St., Neta Bldg., 4th floor
Tel-Aviv 67899
ISRAEL
http://www.motorola.com/
- tr -d [:space:] removes the letter 'p',
Aizer Danny-BDA023 <=