Paul Kraus wrote: > > How can I make this assignment in one statement. > I know its going to be something easy. > $path=$5; > $path=~s/ /\\ /g;
I don't understand. Is this part of a bash script? It looks like you a trying to assign the fifth parameter (path=$5) to a variable named path (which BTW is not the PATH) and then manipulate it in some way (something to do with \ I think). Perhaps this is some language that I am unfamiliar with? If so, I apologize. However, if is bash, I suggest you explain in words what you want to do, and I will try to script it. Cheers, Steven - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
