From: Austin Ziegler Date: 2003-09-01T09:38:31+09:00 Subject: Re: `echo %!(*` On Mon, 1 Sep 2003 08:06:30 +0900, Shashank Date wrote: > I am not sure that I understand what you mean by "bypassing the shell", > but will this work for you: UNIX shells do globbing, whereas DOS (and CMD) leave that for the program to do the globbing. Let's say you have Sound1.ogg and Sound2.ogg in a directory. When a DOS program gets a command like: vorbiscomment *.ogg ARGV[0] is "*.ogg". It's up to vorbiscomment to convert *.ogg into all of the files in the directory that match *.ogg. However, when a UNIX shell gets the same command, ARGV[0] is "Sound1.ogg"; ARGV[1] is "Sound2.ogg". >> Apparently Kernel::` is a method, but I can't figure out how to call it >> with my own arguments. Is there a non-punctuation name for it? This Kernel::system(command [, args*]) should do what you're after. If you know you're on a Unix system, you can escape asterisks with a backslash (e.g., "\\\\*" in Ruby). That *should* work. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.08.31 * 20.27.52