screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #57629] Positional parameters in screenrc file?


From: Carl Ponder
Subject: [screen-devel] [bug #57629] Positional parameters in screenrc file?
Date: Mon, 6 Apr 2020 09:36:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Follow-up Comment #3, bug #57629 (project screen):

I dislike this 2-level approach since it really junks up the contents of the
script.

Instead I wrote a utility (in the spirit of "xargs") that translates the
argument-list into indexed ARGV variables

        argv ./screenrc config.xml

and assigns ARGV1=config.xml where the $ARGV1 variable can be used inside the
screenrc file.

This isn't perfect but (I think) keeps it more readable.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57629>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]