-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
area: coreIssues not related to a specific subsystemIssues not related to a specific subsystemprio: lowMinor problem or easily worked aroundMinor problem or easily worked aroundver: 4.7.2Reproducible in version 4.7.2Reproducible in version 4.7.2
Milestone
Description
Important
This issue was migrated from Trac:
| Origin | https://midnight-commander.org/ticket/2227 |
|---|---|
| Reporter | ligelowbee (ligelowbee@….com) |
| Mentions | gotar@….pl |
I was trying to use process substitution in one of my User Menu scripts but it kept kick out with:
syntax error near unexpected token `('
You can test this by making a menu entry that runs the trivial command:
echo <(ls)
She'll crapout on you nicely
My actual intent was to get a listing diff of all the files in the source and destination directories (including subdirectories) with:
%view diff -u <(find ./ -type f|sort) <(cd %D; find ./ -type f|sort)
I ended up using mktemp files instead of Process Substitution and all is well. Just thought I'd mention the troubles.
Cheers,
Lee
Metadata
Metadata
Assignees
Labels
area: coreIssues not related to a specific subsystemIssues not related to a specific subsystemprio: lowMinor problem or easily worked aroundMinor problem or easily worked aroundver: 4.7.2Reproducible in version 4.7.2Reproducible in version 4.7.2