bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syntax error: unexpected end of file


From: wael-zwaiter
Subject: syntax error: unexpected end of file
Date: Sun, 10 Jan 2021 19:28:59 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]