Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
CUT.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 2k
Category:
OS Develop
Development Platform:
WINDOWS
- .TH CUT 1
- .SH NAME
- cut - select out columns of a file
- .SH SYNOPSIS
- fBcut [ fB -b fR|fB -cfR] fIlistfR [fIfile...fR]fR
- .br
- fBcut -f fIlistfR [fB-d fIdelimfR] [fB -sfR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-b" "Cut specified bytes"
- .FL "-c" "Select out specific characters"
- .FL "-d" "Change the column delimiter to fIdelimfR"
- .FL "-f" "Select out specific fields that are separated by the
- .FL "-i" "Runs of delimiters count as one"
- .FL "-s" "Suppres lines with no delimiter characters, when used
- .SH EXAMPLES
- .EX "cut -f 2 file" "Extract field 2"
- .EX "cut -c 1-2,5 file" "Extract character columns 1, 2, and 5"
- .EX "cut -c 1-5,7- file" "Extract all columns except 6"
- .SH DESCRIPTION
- [fIfile...fR]"
- delimiter character ( see fIdelimfR)"
- with the -f option. Lines with no delimiters are passwd through
- untouched"
- .PP
- fICutfR extracts one or more fields or columns from a file and writes them on
- standard output.
- If the fB-ffR flag is used, the fields are separated by a delimiter
- character, normally a tab, but can be changed using the fB-dfR flag.
- If the fB-cfR flag is used, specific columns can be specified.
- The list can be comma or BLANK separated. The fB-ffR and
- fB-cfR flags are mutually exclusive.
- Note: The POSIX1003.2 standard requires the option -b to cut out
- specific bytes in a file. It is intended for systems with multi byte
- characters (e.g. kanji), since MINIX uses only one byte characters,
- this option is equivalent to -c. For the same reason, the option
- -n has no effect and is not listed in this manual page.
- .SH "SEE ALSO"
- .BR sed (1),
- .BR awk (9).