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 '[:space:]'; echo asdfpasdfpa _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils