i run script in ubuntu 12.04 as below
step 1: modified the script as below
digit:{3} => [[:digit:]]{3}
../../../org.adempiere.server-feature/data/seed/LAST_SCRIPT_APPLIED_ON_THIS_SEED => absolut path
step 2: cd to idempiere/org.adempiere.server-feature/data/seed
step 3: run the modified command .
and below is error output
grep: : No such file or directory
bash: command substitution: line 2: syntax error near unexpected token `|'
bash: command substitution: line 2: `| cut -d ':' -f1'
tail: +: invalid number of lines
please help me corect scritp