[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Enhanced ECHO command for Windows



This is tangential to XyWrite, but relevant for users who write Windows BATch files. As you may
know, the Linux echo command has always had options to omit the final newline character from its
output ("-n") and to output control characters by means of backslash escape codes
("-e"). Unfortunately, the built-in Windows echo command lacks these features. The
indispensable GNU coreutils package remedies these omissions with its echo.exe (a/k/a gecho.exe),
but does not include all of the options available in Linux echo (while incorrectly documenting
escape code "\c"). And both Linux and coreutils lack a user-friendly option to echo bytes
expressed as decimal Ascii codes, forcing users to resort to octal or hexidecimal. So I've written a
new version for Windows, echos.exe, that combines all of these features. You can download it here:

https://ammaze.net/xywwweb/dls/echos.zip

"Echos.exe --help" provides a usage summary.

To browse a potpourri of my other offerings of possible interest to users of XyWrite, Windows and
DOS, visit my miscellaneous downloads page at:

https://ammaze.net/xywwweb/dls/index.shtml

Greetings, all.

-- 
Carl Distefano
cld@xxxxxxxxxx