fld

command
v0.0.0-...-49b2a1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

fld selects fields to print from tabular input.

# Prints the first two fields in input.
fld 1 2 < myfile

# Prints the first two fields in input, and the last.
# If using negative indexes, you need "--" to prevent flag handling code from
# attempting to use -1 etc. as flags.
fld -- 1 2 -1 < myfile

# Same thing with alternate syntax.
fld -k 1,2,-1

Credit to Mark-Jason Dominus for the idea.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL