Can anyone help me to remove some spaces in a text like here ?
==========
> Y o u t y p e i n t h e p h r a s e , a n d c a n a d d i t i o n a l l y s e t s o m e g r a > m m a t i c a l
==========
Ok there are 3 spaces between the words....
maybe there is a solution in Vim but i didn't found it yet..
TIA,
L
sed -e "s/ /XXX/g" -e "s/ //g" -e "s/XXX/ /g"
All the best, Timo
--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/> ; FI-65101, Finland
Timo's FAQ materials at http://www.uwasa.fi/~ts/http/tsfaq.html
Depending on how the spaced file has been created another potential UNIX
port solution is
type myfile.txt | tr -d \000
For more see the end part of
http://www.netikka.net/tsneti/info/tscmd028.htm
All the best, Timo
--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/> ; FI-65101, Finland
Useful CMD script tricks http://www.netikka.net/tsneti/info/tscmd.htm
Thanks, and your first solution was OK. i did a similar trick with
Vim
L