2021-06-29 08:47:29 +02:00
|
|
|
.\" Manpage for shellnotes-notegrep.
|
2021-07-01 19:03:45 +02:00
|
|
|
.\" Contact dmarakom@gmail.com to correct errors or typos.
|
2021-06-29 08:47:29 +02:00
|
|
|
|
|
|
|
.TH notegrep 1
|
|
|
|
.SH NAME
|
|
|
|
|
|
|
|
shellnotes-notegrep \- manipulate notes with grep tools
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.PP
|
|
|
|
.B notegrep
|
|
|
|
[\fIPATTERN\fR]
|
2021-07-01 19:03:45 +02:00
|
|
|
.IR [FILE...]
|
2021-06-29 08:47:29 +02:00
|
|
|
.PP
|
|
|
|
.B notegrep
|
|
|
|
[\fIOPTION\fR]
|
2021-07-01 17:22:41 +02:00
|
|
|
[\fIPATTERN\fR]
|
2021-07-01 19:03:45 +02:00
|
|
|
.IR [FILE...]
|
2021-06-29 08:47:29 +02:00
|
|
|
.PP
|
|
|
|
.B notegrep
|
|
|
|
[\fIOPTION\fR]
|
2021-07-01 19:03:45 +02:00
|
|
|
.IR [FILE...]
|
2021-07-01 17:22:41 +02:00
|
|
|
.PP
|
|
|
|
.B notegrep
|
|
|
|
[\fIOPTION\fR]
|
|
|
|
[\fIPATTERN\fR]
|
2021-07-01 19:03:45 +02:00
|
|
|
|
2021-06-29 08:47:29 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
.B notegrep
|
|
|
|
uses grep to change the ways your notes are displayed.
|
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-sc ", " \--split-char =\fISTRING\fR
|
|
|
|
Split the note on a string or character and then display it.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-cl ", " \--count-lines =\fISTRING\fR
|
|
|
|
Count the matching lines of a file.
|
|
|
|
Asks user to show these lines by default.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-sl ", " \--show-lines =\fISTRING\fR
|
|
|
|
Show the matching lines of a file.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-cf ", " \--count-files =\fISTRING\fR
|
|
|
|
Count how many files contain a pattern.
|
|
|
|
Asks user to show these files by default.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-sf ", " \--show-files =\fISTRING\fR
|
|
|
|
Show the files with a matching pattern.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-ws ", " \--without-string =\fISTRING\fR
|
|
|
|
Display lines WITHOUT matches.
|
|
|
|
|
2021-08-21 19:43:07 +02:00
|
|
|
.TP
|
|
|
|
.BR \-m ", " \--multiple =\fISTRING\fR
|
|
|
|
Display multiple matches in more than one files in the Notes folder. Use '.' for all files, not '*' (See BUGS).
|
|
|
|
|
2021-08-19 17:23:57 +02:00
|
|
|
.SH BUGS
|
2021-06-29 08:47:29 +02:00
|
|
|
|
2021-08-19 17:23:57 +02:00
|
|
|
.TP
|
|
|
|
.BR \GrepAllFilesBug ", " \-gafBug ", " \71
|
2021-08-21 19:43:07 +02:00
|
|
|
"*" doesn't work as a selector for all the files in the Notes folder when running "notegrep -m". Use '.' instead
|
2021-06-29 08:47:29 +02:00
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
|
|
|
Dimitris Marakomihelakis (dmarakom@gmail.com)
|