ppt

 view release on metacpan or  search on metacpan

html/commands/cut/cut.hewgill.html  view on Meta::CPAN

   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<a name='___top' class='dummyTopAnchor' ></a>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p><b>cut</b> - select portions of each of a file</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<p><b>cut</b> -<b>b</b> <i>list</i> [-<b>n</b>] [<i>file</i> ...]</p>

<p><b>cut</b> -<b>c</b> <i>list</i> [<i>file</i> ...]</p>

<p><b>cut</b> -<b>f</b> <i>list</i> [-<b>d</b> <i>delim</i>] [-<b>s</b>] [<i>file</i> ...]</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>The <b>cut</b> utility selects portions of each line (as specified by <i>list</i>) from each <i>file</i> (or the standard input by default),
and writes them to the standard output.
The items specified by <i>list</i> can be in terms of column position or in terms of fields delimited by a special character.
Column numbering starts from 1.</p>

<p><i>list</i> is a comma separated set of increasing numbers and/or number ranges.
Number ranges consist of a number,
a dash (`-&#39;),
and a second number and select the fields or columns from the first number to the second,
inclusive.
Numbers or number ranges may be preceded by a dash,
which selects all fields or columns from 1 to the first number.
Numbers or number ranges may be followed by a dash,
which selects all fields or columns from the last number to the end of the line.
Numbers and number ranges may be repeated,
overlapping,
and in any order.
It is not an error to select fields or columns not present in the input line.</p>

<p>The options are as follows:</p>

<p>-<b>b</b> <i>list</i> The <i>list</i> specifies byte positions.</p>

<p>-<b>c</b> <i>list</i> The <i>list</i> specifies character positions.</p>

<p>-<b>d</b> <i>string</i> Use the first character of <i>string</i> as the field delimiter character instead of the tab character.</p>

<p>-<b>f</b> <i>list</i> The <i>list</i> specifies fields,
delimited in the input by a single tab character.
Output fields are separated by a single tab character.</p>

<p>-<b>n</b> Do not split multi-byte characters.</p>

<p>-<b>s</b> Suppresses lines with no field delimiter characters.
Unless specified,
lines with no delimiters are passed through unmodified.</p>

<p>The cut utility exits 0 on success or 1 if an error occurred.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="BUGS"
>BUGS</a></h1>

<p>Bytes and characters are treated identically.
No support is provided for multi-byte character sets.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>

<p>Greg Hewgill &#60;greg@hewgill.com&#62; 1999-03-03</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="COPYRIGHT_and_LICENSE"
>COPYRIGHT and LICENSE</a></h1>

<p>This program is copyright by Greg Hewgill 1999.</p>

<p>This program is free and open software.
You may use,
copy,
modify,
distribute and sell this program (and any modified variants) in any way you wish,
provided you do not restrict others to do the same.</p>

<!-- end doc -->

</body></html>



( run in 0.641 second using v1.01-cache-2.11-cpan-5511b514fd6 )