Getz And Blanks
1
2
Entering edit mode
13.5 years ago
Yahan ▴ 400

Does anyone know if you can use white space with getz?

I can do

getz '[EMBL:BF41231]' -e -sf gcg

also I can search on a specific field like

getz '[EMBL-des:StartOfDescription*]' -e -sf gcg

but this does not work

getz '[EMBL-des:*anywhere in description*]' -e -sf gcg

Thanks,

• 1.5k views
ADD COMMENT
0
Entering edit mode
13.5 years ago

Hi @yahan,

I don't know about getz, but maybe you could try to substitute " " by " " in case the space is a special character for this program. I know that you use single quotes, for which special characters shouldn't be interpreted by the OS, but maybe the program internally evaluates the string in some special way.

Worth a try :)

ADD COMMENT
0
Entering edit mode

Hi Eric, It worked. thanks for the unix tut.

ADD REPLY
0
Entering edit mode

Glad it was that simple :)

ADD REPLY

Login before adding your answer.

Traffic: 1771 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6