> Any suggestion? There is no "better" answer to this question. You are advised to read "The Unix and the Echo"[1], by Doug McIlroy, and Russ Cox's adaptation for our system, "The Plan 9 and the Echo"[2]. If you need different behavior than what's there, you want something other than echo. [1] http://everything2.com/title/The+UNIX+and+the+Echo) [2] https://groups.google.com/forum/#!msg/comp.os.plan9/Bg-gyAzbWiE/VZj7qSVn5uIJ