04-23-2002
2,
0
Join Date: Apr 2002
Last Activity: 2 May 2002, 6:41 PM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
using tr
Hi,
I'm trying to replace a comma (but it can be used for any other character) using tr with a a new line, is it possible to make declare comma as a string first and then use it in the tr command?
(my shell is dodgy, beginner)
eg:
$comma = ','
tr "\012" '$comma'
Thanks for your time