Re: Fix for password-protected .rar files



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]