[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Handle each file at a time in loop?

On Tue, Jan 05, 2010 at 02:00:31AM +0530, Foss User wrote:
> $ ls


> Of course, this doesn't do what I need. The names are split wherever
> there are spaces.
if you want to work with spaces in shell scripts have a look at IFS (man
bash sh dash) the trick is


<do some work>


note the IFS= across 2 lines is correct


> What is the right way to do this?

"I mean, there was a serious international effort to say to Saddam Hussein, you're a threat. And the 9/11 attacks extenuated that threat, as far as I�concerned."

	- George W. Bush
Philadelphia, PA

Attachment: signature.asc
Description: Digital signature

Reply to: