File: parse-example-4.txt

package info (click to toggle)
circos-tools 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 19,684 kB
  • sloc: perl: 4,450; sh: 46; makefile: 15
file content (22 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# use -show_parsed option to only report what has been parsed
#
# When the delimiter is white space (e.g. space, tab) and your input data is from
# a source that uses white space to format output, you should use -field_delim_collapse to 
# collapse adjacent spaces
#
# Use \s to mean any whitespace (e.g. space or tab) or ' ' to specifically
# indicate a space. For example,
#
# -field_delim \s  
# -field_delim ' '
#
# Since the distinction between tabs and a space is usually not important, you
# can use \s with relative safety.
#
# cat parse-example-1.txt | ../bin/parse-table -field_delim \s -field_delim_collapse
# 
-    A   B  C
A    0   1  2
B    3   4  5
C    6   7  8