Wireshark-commits: [Wireshark-commits] master 172b74d: Portably remove CRs from Python output.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 24 Mar 2016 01:09:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=172b74d734127e88bb305d4dc691da7a81ca5deb
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

172b74d by Guy Harris (guy@xxxxxxxxxxxx):

    Portably remove CRs from Python output.
    
    The GNU sed manual says the only C-style backslash escapes that can be
    used in regular expressions in portable sed scripts are \n and \\.
    
    The Single UNIX Specification says that \r is one of the C-style
    backslash escapes that can be used in tr, so use tr -d instead.
    
    Change-Id: I40d97ee9b89dfce3d67f062ec8839d3aba998ff3
    Reviewed-on: https://code.wireshark.org/review/14606
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c1692d9   Add files by folder to distribution tarball (EXTRA_DIST)
    adds  172b74d   Portably remove CRs from Python output.


Summary of changes:
 tools/pre-commit |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)