nick zeljkovic kppyozizjtsite5com thursday 14 february 2008 2313 david c rankin wrote stumbling around seems include afsn keep loop breaking spaces specifying break newlines spaces filenames spaces wifes digital pictures thing found work without extensive character replacing spaces _ ifs afs need keyword david bolt mentioned script quick oneliner really saving restoring old ifs end rather difficult diagnose failures find example etcinitdalsasound start snippet load_sequencer test load_sequencer yes modprobe q sndseq xload_sequencer xyes r procasoundseqdrivers oldifsifs ifs read x c sbinmodprobe done procasoundseqdrivers ifsoldifs fi end snippet one interesting aside use test xc x little later script earth didnt use instead interesting puzzle z c regards david bolt workaround older version bash uninitialized variables ive use many times best regards nick zeljkovic ahlgrwhsvgmailcom sat apr 26 154927 2008 messageid 58ce48dc0802271224s28d22e33saf436da298bfdbaamailgmailcom date wed 27 feb 2008 152443 0500 chas owens joseph l casale subject expression help cc soiofdvxgperlorg mimeversion 10 contenttype textplain charsetiso88591 contenttransferencoding 7bit wed feb 27 2008 307 pm joseph l casale wrote trying replace occurrences windows path cdir 1dir 2dir spaces similar path case insensitive cant make work anyone got idea hoping syntax compatible sed script ran two modes one hand sed thanks jlc two ways think top head make regex case insensitive option using character classes dir scdir 1dir 2dir spacesnewpathi dir scddiirr 1ddiirr 2ddiirr wwiitthh mmoorree ssppaacceessnewpath dont understand would run sed perl run command line hand well chas owens wonkdennet wed 06 aug 2008 073019 0100 opensuse bash doesnt tldp bash beginners guide loop example work