EnglishFrenchSpanish

Ad


OnWorks favicon

rlam - Online in the Cloud

Run rlam in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rlam that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rlam - laminate records from multiple files

SYNOPSIS


rlam [ -tS ][ -u ][ -iaN | -ifN | -idN | -iiN | -iwN | -ibN ] input1 input2 ..

DESCRIPTION


Rlam simply joins records (or lines) from multiple inputs, separating them with the given
string (TAB by default). Different separators may be given for different files by
specifying additional -t options in between each file name. Note that there is no space
between this option and its argument. If none of the input files uses an ASCII separator,
then no end-of-line character will be printed, either.

An input is either a stream or a command. Commands are given in quotes, and begin with an
exclamantion point ('!'). If the inputs do not have the same number of lines, then
shorter files will stop contributing to the output as they run out.

The -ia option may be used to specify ASCII input (the default), or the -if option may be
used to indicated binary IEEE 32-bit floats on input. Similarly, the -id and -ii options
may be used to indicate binary 64-bit doubles or integer words, respectively. The -iw
option specifies 2-byte short words, and the -ib option specifies bytes. If a number is
immediately follows any of these options, then it indicates that multiple such values are
expected for each record. For example, -if3 indicates three floats per input record for
the next named input. In the case of the -ia option, no number indicates one line per
input record, and numbers greater than zero indicate that many characters exactly per
record. For binary input formts, no number implies one value per record. For anything
other than EOL-separated input, the default tab separator is reset to the empty string.

A hyphen ('-') by itself can be used to indicate the standard input, and may appear
multiple times. The -u option forces output after each record (i.e., one run through
inputs).

EXAMPLE


To join files output1 and output2, separated by a comma:

rlam -t, output1 output2

To join a file with line numbers (starting at 0) and its reverse:

cnt `wc -l < lam.c` | rlam - -t: lam.c -t '!tail -r lam.c'

To join four data files, each having three doubles per record:

rlam -id3 file1.dbl file2.dbl file3.dbl file4.dbl > combined.dbl

Use rlam online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 2
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 3
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 4
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 5
    LMS-YouTube
    LMS-YouTube
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/lms-y...
    Download LMS-YouTube
  • 6
    Windows Presentation Foundation
    Windows Presentation Foundation
    Windows Presentation Foundation (WPF)
    is a UI framework for building Windows
    desktop applications. WPF supports a
    broad set of application development
    features...
    Download Windows Presentation Foundation
  • More »

Linux commands

Ad