File: parse-example-5.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 (19 lines) | stat: -rw-r--r-- 709 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
#
# use -show_parsed option to only report what has been parsed
#
# If your values are quoted, contain thousands-separators, or have other
# cruft, use -remove_cell_rx to define a regular expression of chararacters
# that should be removed from each field.
#
# The value of -remove_cell_rx will be turned into a character class which will
# be removed. For example, if -remove_cell_rx abc then the regular expression will be
# [abc] and the substitutution will be s/[abc]//g
#
# If you have thousands-separator , then do not use the same string as a delimiter!]
#
# cat parse-example-1.txt | ../bin/parse-table -field_delim \s -remove_cell_rx '",()'
# 
- A B C
A "0" 1,000 (2)
B "3" 4,000 (5)
C "6" 7,000 (8)