"[munzirtaha]" <[EMAIL PROTECTED]> writes:

> rm -i (or just rm since rm -i is an alias for rm by default in Mandrake) will not 
> work due to 
> certain environmental variables related to Arabic. If /etc/sysconfig/i18n contains 
> LC_ALL=ar_SA.UTF-8, LC_ALL=ar, LC_MESSAGES=ar, ... or we export these variables 
> manually, the rm -i command and other commands will be disabled!! 

i confirm, whatever the answer is, it fails 
(i thought it needed the i18n "y")

% touch foo ; LC_ALL=C perl -e 'foreach ("a" .. "z") { system("echo $_ | rm -i foo 
2>/dev/null"); die "found $_\n" if ! -e "foo" } die "not found\n"'
found y
% touch foo ; LC_ALL=de perl -e 'foreach ("a" .. "z") { system("echo $_ | rm -i foo 
2>/dev/null"); die "found $_\n" if ! -e "foo" } die "not found\n"'
found j
% touch foo ; LC_ALL=fr_FR perl -e 'foreach ("a" .. "z") { system("echo $_ | rm -i foo 
2>/dev/null"); die "found $_\n" if ! -e "foo" } die "not found\n"'
found o
% touch foo ; LC_ALL=ar perl -e 'foreach ("a" .. "z") { system("echo $_ | rm -i foo 
2>/dev/null"); die "found $_\n" if ! -e "foo" } die "not found\n"'
not found

Reply via email to