Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

parameter expansion question



Hi,

I can force a variable to be expanded by using
${~var}.  Is there any way I can force a string to be
expanded without assigning it to a variable first?

I'm after the same information for filename
generation.  For exampel:

Right now, if I want to see if the glob pattern
'(#i)${i%.rar}*.par' would match anything, I would do:

  parFile=`print (#i)${i%.rar}*.par`

if I use: 


  parFile=(#i)${i%.rar}*.par

Zsh thinks I want an array.

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



Messages sorted by: Reverse Date, Date, Thread, Author