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.
Assign to mm@, who did the last two updates to tar(1).
A commit references this bug:
Date: Tue Oct 18 16:05:20 UTC 2016
New revision: 424173
lang/fsharp: fix build on FreeBSD < 11.
- change substitution since make(1) on FreeBSD 9 does not like variables
within a substitution.
- repeat tar substitution command since tar(1) on FreeBSD 9/10 does not
obay the 'g' substitution command.
Reported by: pkg-fallout
With FreeBSD 10 EOL this is no longer a problem.