* selector is a simple command line utility for selection of strings
* with a dynamic pattern-matching.
*
* selector is a simple command line utility for selection of strings
* with a dynamic pattern-matching.
*
if(*string) {
for(s = string; *s && *s != ','; s++) {
if(*s >= '0' && *s <= '9') {
if(*string) {
for(s = string; *s && *s != ','; s++) {
if(*s >= '0' && *s <= '9') {
static struct option long_options[] = {
{ "output-file", 1, 0, 'o' },
static struct option long_options[] = {
{ "output-file", 1, 0, 'o' },
- { "separator-patterns", 1, 0, 's' },
- { "separator-display", 1, 0, 'x' },
+ { "pattern-separator", 1, 0, 's' },
+ { "label-separator", 1, 0, 'x' },
{ "inject-in-tty", no_argument, 0, 'v' },
{ "add-control-qs", no_argument, 0, 'w' },
{ "monochrome", no_argument, 0, 'm' },
{ "inject-in-tty", no_argument, 0, 'v' },
{ "add-control-qs", no_argument, 0, 'w' },
{ "monochrome", no_argument, 0, 'm' },
int main(int argc, char **argv) {
char input_filename[BUFFER_SIZE], output_filename[BUFFER_SIZE];
int main(int argc, char **argv) {
char input_filename[BUFFER_SIZE], output_filename[BUFFER_SIZE];