Page MenuHomeFreeBSD

Allow @sample to take arguments
ClosedPublic

Authored by bapt on Sep 26 2015, 10:29 AM.
Tags
None
Referenced Files
F82165988: D3734.diff
Fri, Apr 26, 3:09 AM
Unknown Object (File)
Thu, Apr 11, 8:19 AM
Unknown Object (File)
Thu, Apr 11, 8:19 AM
Unknown Object (File)
Thu, Apr 11, 8:19 AM
Unknown Object (File)
Thu, Apr 11, 8:19 AM
Unknown Object (File)
Wed, Apr 10, 11:53 AM
Unknown Object (File)
Jan 28 2024, 6:22 PM
Unknown Object (File)
Jan 28 2024, 6:22 PM
Subscribers

Details

Summary

No changes for @sample bla.conf.sample
Offer a new syntax possible

@sample file1 file2
file1 is the sample file
file2 isi the target file

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 611
Build 611: arc lint + arc unit

Event Timeline

bapt retitled this revision from to Allow @sample to take arguments.
bapt updated this object.
bapt edited the test plan for this revision. (Show Details)
bapt added a reviewer: portmgr.

Mk/Scripts/functions.sh must be adjusted to handle this

Adapt the shell plist parser

antoine added a reviewer: antoine.

looks good to me (with the set -x removed)

This revision is now accepted and ready to land.Sep 26 2015, 11:57 AM
This revision was automatically updated to reflect the committed changes.

How does it work if the filename contains a whitespace character ?

In D3734#77149, @mat wrote:

How does it work if the filename contains a whitespace character ?

You will have to escape like in shell:
"my file" or my\ file