On Thu, Oct 12, 2006, Frank Küster wrote: > Apropos error checking. Folks, do you think > > - rm -f /usr/local/share/texmf/ls-R > + -rm -f /usr/local/share/texmf/ls-R 2>/dev/null > > would be okay? This will just drop and ignore all errors, but I can't > imagine any but "can't do that", and in this case we can't do anything > but just not do it.
It's usually done this way: rm -f /usr/local/share/texmf/ls-R 2>/dev/null || true But it's IMHO OK to silently ignore removal errors, yes. -- Sam.