Re: [patch] bashism in sh script

2003-08-14 Thread Pavel Roskin
On Fri, 1 Aug 2003, GoTaR wrote: There's no thing like $[..] to evaluate expressions in POSIX sh, it's bash feature. sh uses $((..)) instead (and bash understands it too). Here comes fix. Does the next line work for you? I mean this: if (( $A 10 )); then A=0$A; fi I think it's a much

suggestion: batchmode feature for MC

2003-08-14 Thread Alex Schütz
Dear Developers, Your Midnight Commander is a great tool. However, I frequently use it to copy files from directories where I don't have proper access rights for some of the files in the dir, especially over an FTP connection. I'd really appreciate if MC had a sort of batch mode, that is, as

Re: [patch] bashism in sh script

2003-08-14 Thread Pavel Roskin
On Fri, 8 Aug 2003, Andrew V. Samoilov wrote: I think patch below make audio.in much more portable. Applied. BTW, I don't see reason to substitute audio from audio.in. There is @AWK@ in audiofs_copyout(), but it's hard to notice :-) -- Regards, Pavel Roskin

Re: [patch] bashism in sh script

2003-08-14 Thread Andrew V. Samoilov
On Fri, 1 Aug 2003, GoTaR wrote: There's no thing like $[..] to evaluate expressions in POSIX sh, it's bash feature. sh uses $((..)) instead (and bash understands it too). Here comes fix. Does the next line work for you? I mean this: if (( $A 10 )); then A=0$A; fi I think

[patch] uzip extfs 9999999 bytes fix

2003-08-14 Thread Oskar Liljeblad
Here's a small patch that fixes a silly bug that would prevent uzip from listing files that are larger than 999 bytes... The only change is the '+' character (into '*'). Oskar --- uzip.orig 2003-08-05 17:21:00.0 +0200 +++ uzip2003-08-05 17:21:13.0 +0200 @@ -202,7