I have a bash script which works with quick-grepot-Hirn () { find "$4" -name "*.org" -name "*.texi" -print0 \ | xargs -0 -n1 -P0 /bin/grep --color="auto" -Hirn "$1" "$2" "$3" }
But get the error bash: /home/hagbard/Genadm/build/gungadin-1.0/sysrc/gungadin.rc: line 455: syntax error: unexpected end of file This happens when I use quick-grepot-Hirn () { find "$4" -name "*.org" -name "*.texi" -print0 \ | xargs -0 -n1 -P0 /bin/grep --color="auto" -Hirn "$1" "$2" "$3" } Regards