Hi.
I found that one can suppress the "Broken Pipe" warnings from
"openpkg index" by placing a
trap "" PIPE
in the beginning of the $opkg_root/bin/openpkg bash script.
Though,
openpkg index -c -i .../current/SRC >tst.rdf.bz2
still spits out:
WARNING: unknown token '"10"':
< #if "%{V_minor}" == "0"
> #if "10" == "0"
WARNING: unknown token '==':
< #if "%{V_minor}" == "0"
> #if "10" == "0"
WARNING: unknown token '"0"':
< #if "%{V_minor}" == "0"
> #if "10" == "0"
(mk)
PS: Another nice thing i learned about is the PIPESTATUS array.
Handling errors from commands inside multi stage pipes always
again grieved me.
--
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]