cdbflite 使用 /filter 查找空行
cdbflite Use /filter to find empty lines
我有一个文件user.dbf,我想过滤所有为空的邮件,我在网上搜索了一种过滤空字段的方法,但没有成功。
user.dbf : id ; username ; password ; mail
使用cdbflite软件,我尝试使用这个命令:
cdbflite.exe user.dbf /filter:mail=' ' /select:id,username > log.csv
但它 return:过滤器无效
请帮帮我:'(
摘自http://www.whitetown.com/cdbflite/cl/
/filter:condition
/f:condition
Installation of the filter. The filter allows to select of some
records which satisfying to some condition. Allowable to use several
conditions in one filter and/or some filters. In the latter case they
was united as condition 'AND'. For example:
/filter:name=Smith - to select people with name "Smith"
/filter:name=Smith&age>30 - to select people with name "Smith" and
age more them 30 year
/filter:name=Smith&age{30 - to select people with name "Smith" and
age less them 30 year
/filter:name=Smith;name=Gates - to select people with name "Smith" or
"Gates"
/filter:name=Smith|name=Gates - to select people with name "Smith" or
"Gates"
/filter:name~uck - to select people, containing a substring "uck".
/filter:name=A /filter:age=30 - it's same as
/filter:name=A&age=30
If the compared expression contains blanks, you should to conclude
expression in quotes.
/filter:name="John Smith"
作为猜测,尝试使用双引号并尝试在它们之间没有 space:
/filter:mail=""
如果那不行,我认为这是不可能的。
我有一个文件user.dbf,我想过滤所有为空的邮件,我在网上搜索了一种过滤空字段的方法,但没有成功。
user.dbf : id ; username ; password ; mail
使用cdbflite软件,我尝试使用这个命令:
cdbflite.exe user.dbf /filter:mail=' ' /select:id,username > log.csv
但它 return:过滤器无效
请帮帮我:'(
摘自http://www.whitetown.com/cdbflite/cl/
/filter:condition /f:condition Installation of the filter. The filter allows to select of some records which satisfying to some condition. Allowable to use several conditions in one filter and/or some filters. In the latter case they was united as condition 'AND'. For example: /filter:name=Smith - to select people with name "Smith" /filter:name=Smith&age>30 - to select people with name "Smith" and age more them 30 year /filter:name=Smith&age{30 - to select people with name "Smith" and age less them 30 year /filter:name=Smith;name=Gates - to select people with name "Smith" or "Gates" /filter:name=Smith|name=Gates - to select people with name "Smith" or "Gates" /filter:name~uck - to select people, containing a substring "uck". /filter:name=A /filter:age=30 - it's same as /filter:name=A&age=30 If the compared expression contains blanks, you should to conclude expression in quotes. /filter:name="John Smith"
作为猜测,尝试使用双引号并尝试在它们之间没有 space:
/filter:mail=""
如果那不行,我认为这是不可能的。