cut in Mac OS X
By: Strauss K
Divide a file into several parts.
Syntax cut -b list [-n] [file ...] cut -c list [file ...] cut -f list [-d delim] [-s] [file ...] Options -b list The list specifies byte positions. -c list The list specifies character positions. -d delim Use the first character of the string delim as the field delimiter character instead of the tab character. -f list The list specifies fields, delimited in the input by a single tab character. Output fields are separated by a single tab character. -n Do not split multi-byte characters. -s Suppresses lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified.
Notes
cut exits 0 on success, 1 if an error occurred.
Most Viewed Articles (in macos ) |
Latest Articles (in macos) |
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Subscribe to Tutorials
Related Tutorials
Archived Comments
1. Brettkip
View Tutorial By: Brettkip at 2017-06-04 02:31:17