Phil Stracchino <alaric_at_caerllewys.net> writes:
> On Sun, Jul 20, 2003 at 07:16:23PM -0400, Dan Espen wrote:
> > Eduardo Alvarez <punga_at_great-atuin.net> writes:
> > > Hello, all
> > >
> > > One (potentially very silly) question: is there a command that reads
> > > another text file? I want to have a different file for the window styles
> ,
> > > and, although I figure I could use PipeRead cat <filename>, I wondered if
> > > there's another method.
> >
> > Read
>
> Now what *I'd* really like is to be able to make this conditional, or
> have it evaluate a path.
>
> Something like, say,
>
> Read $HOME/bin/$OS/os-specific-settings
>
> Is this possible?
For conditional configs, PipeRead is usually best, but
"Read" will expand environment variables.
I think the preferred syntax is:
Read $[HOME]/bin/$[OS]/os-specific-settings
--
Dan Espen E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Jul 20 2003 - 19:28:08 BST