I was trying to match more than two columns using sddsprocess, but this always returns me:
Code: Select all
sddsprocess FLASH2_TDS_astra.sig -pipe=out \
"-match=column,ElementName=DISTDBC2,ElementName=DISTUBC2,ElementName=DISTUBC3,|" \
| sddsprintout -pipe -col=ElementName -col=s -col=St -col=Ss
Error (sddsprocess): invalid -match syntax
Error for sddsprintout:
Unable to read layout--no header lines found (SDDS_ReadLayout)
Code: Select all
sddsprocess FLASH2_TDS_astra.sig -pipe=out \
> "-match=column,ElementName=DISTDBC2,ElementName=DISTUBC2,|" \
> | sddsprintout -pipe -col=ElementName -col=s -col=St -col=Ss
Printout for SDDS file stdin
ElementName s St Ss
m s m
----------------------------------------------------------
DISTUBC2 1.859100e+01 1.721518e-12 5.167607e-04
DISTDBC2 2.263874e+01 1.764048e-13 5.362120e-05