Re: Fix for password-protected .rar files
- From: Andy Shevchenko <andy pylesos interdon net>
- To: MC Devel <mc-devel gnome org>
- Subject: Re: Fix for password-protected .rar files
- Date: Mon, 24 Jul 2006 18:54:27 +0300
Denis Vlasenko пишет:
- $ISOINFO -i "$1" -x "/$2" > "$3"
+ $ISOINFO -i "$1" -x "/$2" > "$3"
- RPM="rpm --nosignature"
+ RPM="rpm --nosignature"
- RPM="rpm"
+ RPM="rpm"
- RPM="rpm --nosignature"
+ RPM="rpm --nosignature"
- RPM="rpm"
+ RPM="rpm"
- $XAR tv "$1" | sed 's,^,-,;s, , 1 ,;s,/, ,'
+ $XAR tv "$1" | sed 's,^,-,;s, , 1 ,;s,/, ,'
What the main idea for removing spaces is here?
-for dir in $PATH; do
+for dir in "$PATH"; do
I think it's wrong.
Consider two lines
aaa bbb
"aaa bbb"
as for argument list.
Imagine difference here.
--
With best regards,
Andy Shevchenko. mailto: andy smile org ua
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]