.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. .TH NDSELECT "1" "January 2017" "ndselect 5.9.0" "User Commands" .SH NAME ndselect \- select lines and fields for numdiff .SH DESCRIPTION Usage: ndselect \fB\-h\fR|\-\-help|\-v|\-\-version or .PP ndselect [\-b N][\-e N][\-s N][\-F N][\-L N][\-I N][\-S IFS][\-D DELIMS][\-O OSEP][\-x][\-l PATH][\-o PATH] [FILE] .PP Print to standard output a subset of lines and fields from a given file. .PP The argument after the options is the name of the file to read from. The complete path of the file should be given, a directory name is not accepted. If no input file is specified, the program reads from the standard input. .PP Exit status: 0 in case of normal termination, \fB\-1\fR (255) in case of error .PP \fB\-b\fR, \fB\-\-beginning\fR, \fB\-\-start\fR=\fI\,N\/\fR .IP Set to N the number of the first line to print (The default behavior is to start with line number 1) .PP \fB\-e\fR, \fB\-\-end\fR=\fI\,N\/\fR .IP Set to N the number of the last line that can be printed (The default behavior is to arrive till to the end of the file) .PP \fB\-s\fR, \fB\-\-step\fR=\fI\,N\/\fR .IP Set to N the increment to use when selecting the lines to print (The default value for the increment is 1) .PP \fB\-F\fR, \fB\-\-first\-field\fR=\fI\,N\/\fR .IP Set to N the number of the first field to print (The default behavior is to start with field number 1) .PP \fB\-L\fR, \fB\-\-last\-field\fR=\fI\,N\/\fR .IP Set to N the number of the last field that can be printed (The default behavior is to arrive till to the end of every line) .PP \fB\-I\fR, \fB\-\-increment\fR=\fI\,N\/\fR .IP Set to N the increment to use when selecting the fields to print (The default value for the increment is 1) .PP \fB\-S\fR, \fB\-\-separators\fR=\fI\,IFS\/\fR .IP Specify the set of characters to use as delimiters while splitting the input lines into fields (The default set of delimiters is space, tab and newline) .PP \fB\-D\fR, \fB\-\-delimiters\fR=\fI\,DELIMS\/\fR .IP Specify the set of strings to use as delimiters while splitting the input lines into fields (The default set of delimiters is space, tab and newline) .PP \fB\-O\fR, \fB\-\-output\-separator\fR=\fI\,OSEP\/\fR .IP Specify the string to use as separator while writing the selected fields to the standard output (The default behavior consists in reusing .IP the delimiters found in the input lines) .PP \fB\-x\fR, \fB\-\-omit\-empty\-lines\fR .IP Do not print empty lines .PP \fB\-l\fR, \fB\-\-warnings\-to\fR=\fI\,PATH\/\fR .IP Redirect warning and error messages from stderr to the indicated file .PP \fB\-o\fR, \fB\-\-output\fR=\fI\,PATH\/\fR .IP Redirect output from stdout to the indicated file .PP \fB\-h\fR, \fB\-\-help\fR .IP Show this help message .PP \fB\-v\fR, \fB\-\-version\fR .IP Show version number, Copyright, Distribution Terms and NO\-Warranty .SH COPYRIGHT Copyright \(co 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Ivano Primi License GPLv3+: GNU GPL version 3 or later, see . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B ndselect is maintained as a Texinfo manual. If the .B info and .B ndselect programs are properly installed at your site, the command .IP .B info numdiff .PP should give you access to the complete manual.