About how to set delimiter in serach result
Added by sachin patil 542 days ago
Hi,
I have question about setting delimiter in SupoSE search result.
Currently, in search result all fields are separated with space.
e.g.
In Cmd = XXX --fields revision filename path author date
Result = REVISION:100 FILENAME:abc.txt PATH:/trunk/ AUTHOR:pqr DATE:Tue Aug 10 10:56:02 GMT+05:30 2010*
Is it possible to set delimiter in fields? so result will be like
Expected Result = REVISION:100, FILENAME:abc.txt, PATH:/trunk/, AUTHOR:pqr, DATE:Tue Aug 10 10:56:02 GMT+05:30 2010
(here delimiter is ',')
If possible, how to set delimiter?
Thanks in advance
Best Regards,
Sachin
Replies
RE: About how to set delimiter in serach result - Added by Karl Heinz Marbaise 542 days ago
Hi,
currently it is not configurable to change the delimiter ...but may be the --xml option might be usable for you if you didn't tried ti ...
Kind regards
Karl Heinz Marbaise
RE: About how to set delimiter in serach result - Added by sachin patil 542 days ago
Hi Karl,
Thanks for your quick reply.
I have tried -x & --xml option. But in that case result is showing all the file contents.
So instead of getting whole file contents, how to configure delimiter? so that result will contain only fields like
REVISION:100, FILENAME:abc.txt, PATH:/trunk/, AUTHOR:pqr, DATE:Tue Aug 10 10:56:02 GMT+05:30 2010
(its not in XML format.)
Thanks & regards,
Sachin
RE: About how to set delimiter in serach result - Added by sachin patil 542 days ago
Sorry for incorrect question.
Mistakenly I read your reply as "it is configurable" :)