Re: command tr

2002-05-24 Thread Bob Proulx
> I use tr command and rearrange the date of the file from column to row > But there are two spares between data as follows > Do you have any idea and I want to get one space between data > > # cat file | tr '\n' ' ' > file2 First you don't need the 'cat' here. It serves no useful purpose. I s

command tr

2002-05-24 Thread Oi Yan
Hello all  I use tr command and rearrange the date of the file from column to row But there are two spares between data as follows Do you have any idea and I want to get one space between data  # cat file | tr '\n' ' ' > file2 #more file2hvaca  backus  brinnal  christiawe origainl file