Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 05:37:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213584] tar's 'g' substitution flag is broken
Message-ID:  <bug-213584-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213584

            Bug ID: 213584
           Summary: tar's 'g' substitution flag is broken
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dbn@FreeBSD.org

When extracting a zip archive it may be required to replace the '\' with '/'. 
To achieve this the following command is used:

# tar -s'|\\|/|g' -xf /path/to/zip

however the substitution only applies to the first occurance per file.  This
has been confirmed to happen on FreeBSD < 11.  

See Port's commit 424052 for further details.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213584-8>