Page MenuHomeFreeBSD

Allow @sample to take arguments
ClosedPublic

Authored by bapt on Sep 26 2015, 10:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 28 2024, 6:22 PM
Unknown Object (File)
Jan 28 2024, 6:22 PM
Unknown Object (File)
Jan 18 2024, 2:09 AM
Unknown Object (File)
Jan 18 2024, 2:05 AM
Unknown Object (File)
Jan 17 2024, 9:10 PM
Unknown Object (File)
Dec 25 2023, 5:11 PM
Unknown Object (File)
Dec 23 2023, 5:52 PM
Unknown Object (File)
Dec 23 2023, 5:52 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 610
Build 610: 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