URL: <https://savannah.gnu.org/bugs/?57629>
Summary: Positional parameters in screenrc file? Project: GNU Screen Submitted by: carlponder Submitted on: Sun 19 Jan 2020 04:30:26 AM UTC Category: Feature Request Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 4.7.0 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: If I put this at the top of a "screenrc" file #!/usr/bin/screen -c and mark the file executable -rwxr-xr-x 1 cponder dip 1094 Jan 18 20:19 screenrc I can actually run it as a command and use the screenrc programming convention to open windows and execute commands in them. What I'd like to do, though, is also pass a parameter to this script on the command-line, like ./screen config.1.xml and be able to use it inside the file, like focus right screen -t "Director Process" exec ... ./bin/director $1 localhost so the command-line parameter gets expanded on the 3rd line above. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57629> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/