function cvsignoresallrm { cvsutil --ignores --workings --rm "$@"; }
function svnignoresall { svn status |sed -n "s/^[?] //p" "$@"; }
function svnignoresallrm { svn status |sed -n "s/^[?] //p"|tr "\n" "\0"|xargs -0 rm -rf "$@"; }
+ function ignores { find -name "*.orig" -o -name ".#*" -o -name "*~" "$@"; }
+ function ignoresrm { ignores "$@" | xargs rm -f; }
+ function ignoresall { ignores -o -name "*.rej" "$@"; }
+ function ignoresallrm { ignoresall "$@" | xargs rm -f; }
function disass { objdump -D --target=binary --architecture=i386 "$@"; }
function cal {(unset cal; ( cal -m "$@"; ); );}
function vncreadonly { vncviewer -FullColor -Shared -ViewOnly "$@"; }
export GDBHISTFILE="$HOME/.gdb_history"
export CVS_RSH="ssh"
export TZ=":/usr/share/zoneinfo/Europe/Prague"
+MAKEFLAGS=
+cpus="`getconf _NPROCESSORS_ONLN`"
+if [ -n "$cpus" ];then
+ MAKEFLAGS="$MAKEFLAGS -j$[$cpus+1]"
+fi
+unset cpus
# Do not: grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220
# as Sun workaround as Debian misses: /etc/termcap
# expects: $uname_p