root/galaxy-central/eggs/bx_python-0.5.0_dev_f74aec067563-py2.6-macosx-10.6-universal-ucs2.egg/EGG-INFO/scripts/one_field_per_line.py @ 3

リビジョン 3, 233 bytes (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1#!/usr/bin/python2.6
2
3"""
4Read a file from stdin, split each line and write fields one per line to
5stdout.
6
7TODO: is this really that useful?
8"""
9
10import sys
11
12for line in sys.stdin:
13    for field in line.split():
14        print field
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。