China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 19:49
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Closed] sed cannot delete trailing spaces View 2,559 Replies 15
Floor 16 Posted 2010-01-26 08:56 ·  中国 陕西 榆林 电信
新手上路
Credits 5
Posts 5
Joined 2010-01-24 16:36
16-year member
UID 159369
Gender Male
Status Offline
The space at the end of the line is deleted using this way: sed "s/ *$//" in.txt >out.txt
Forum Jump: