diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-22 02:14:26 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-22 02:14:26 +0000 |
commit | b6f02b7475322d44294453b204a8dadf37014934 (patch) | |
tree | 93c922ba1f6188ddf2db1c824123f94ec5423be8 /tap.h | |
parent | 70a92ad0a829ab13ae146fb026178ff16539c62d (diff) |
"echo -n" isn't portable, and neither is sticking "\c" at the end of the
string to be echoed; use "tr" to delete new lines and, while we're at
it, also delete carriage returns (just in case this is being run under
Cygwin or something such as that, and it produces lines ending with
CR-LF). Don't use character classes - I seem to remember that some
versions of "tr" require you to put the classes in square brackets and
some other versions don't work if you put them in square brackets.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6973 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap.h')
0 files changed, 0 insertions, 0 deletions