Skip to content

Commit 3ba818f

Browse files
author
nixnodes
committed
fixed example, removed warning message when all records filtered
1 parent 2a10072 commit 3ba818f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

MANUAL

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Updated: 10/03/2016
1+
Updated: 18/12/2016
22

33
INPUT/OUTPUT OPERATIONS:
44

@@ -501,16 +501,16 @@ Updated: 10/03/2016
501501
Say we want to do something with releases (in this case just 'echo'),
502502
with a score lower than 5.0, but higher than 0
503503

504-
-a --silent -lom="score < 5.0 && score" --execv "echo \">> {title} << is below the score limit {score}/5.0\""
504+
-a --silent -lom "score < 5.0 && score" -execv "echo \">> {title} << is below the score limit {score}/5.0\""
505505

506506
Display all titles with score higher than or equal to 6.0, sort by score ascending:
507507

508-
-a -lom="score >= 6.0" --sort asc,score -print '{score} {:t} {title}'
508+
-a -lom "score >= 6.0" --sort asc,score -print '{score} {:t} {title}'
509509

510510
Display all titles with score higher than 7.0 of genre Comedy,
511511
sorted by score ascending:
512512

513-
-a -lom="score > 7.0" -l: genres -regexi "Comedy" --sort asc,score -print '{score} {:t} {title} / {genres}'
513+
-a -lom "score > 7.0" -l: genres -regexi "Comedy" --sort asc,score -print '{score} {:t} {title} / {genres}'
514514

515515

516516
FOLDERS FILE (filesystem based dirlog rebuild only):

src/omfp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ g_print_do_filter (__g_handle hdl, void *s_exec)
4040

4141
if (r == 1)
4242
{
43-
print_str ("WARNING: %s: all records were filtered\n", hdl->file);
4443
}
4544
else if (r)
4645
{
@@ -50,7 +49,6 @@ g_print_do_filter (__g_handle hdl, void *s_exec)
5049
return r;
5150
}
5251

53-
5452
int
5553
g_print_stats (char *file, uint32_t flags, size_t block_sz)
5654
{

0 commit comments

Comments
 (0)