function grep { ( ulimitme; `which grep` "$@"; ); }; export -f grep
function rsync { `which rsync` -v -e ssh --progress --stats --partial "$@"; }; export -f rsync
function tohex { od -An -txC /tmp/out|tr -d '\n '|tr 'a-f' 'A-F';echo; }; export -f tohex
+function edall {
+ find -type f|while read -r i;do
+ (awk </dev/null 'BEGIN{ for (i=1;i<ARGC;i++) print ARGV[i]; }' "$@";echo -e 'w\nq')|ed -s "$i"
+ done
+ }; export -f edall
ulimit -c 0