Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tr command 1

Status
Not open for further replies.

malladisk

Programmer
Jun 14, 2001
69
US
Hi, I'm trying to concatenate strings using the 'tr' command.
$ echo "John Doe" | tr ' ' ''

What I want to do is delete the space between John and Doe.

What am I doing wrong?
Thx,
-S
 
echo "John Doe" | tr -d ' '

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top