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

Re: passing parameters



On May 5, 10:42pm, zzapper wrote:
}
} I have a script which as follows which works fine (where ftx is going
} to search for tex docs with pink & main in the name)
} 
} >ftx "pink.*main"

That looks like a regular expression rather than a glob pattern?
 
} param="$1.*$2"
} 
} $param is not treated the same as the original $1

Er, "not treated the same" how?  There's nowhere near enough context
here for anything useful to be said.



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