aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-22 02:14:26 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-22 02:14:26 +0000
commita4280bade5973de55506ab23b433b493651fc02a (patch)
tree93c922ba1f6188ddf2db1c824123f94ec5423be8 /epan/packet.c
parent96a18fb8cf03a10fb5c4c0692f7ea1cba12c25e3 (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. svn path=/trunk/; revision=6973
Diffstat (limited to 'epan/packet.c')
0 files changed, 0 insertions, 0 deletions