EnglishFrenchSpanish

OnWorks favicon

catplan9 - Online in the Cloud

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

This is the command catplan9 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


cat, read, nobs - catenate files

SYNOPSIS


cat [ file ... ]
read [ -m ] [ -n nline ] [ file ... ]
nobs [ file ... ]

DESCRIPTION


Cat reads each file in sequence and writes it on the standard output. Thus

cat file

prints a file and

cat file1 file2 >file3

concatenates the first two files and places the result on the third.

If no file is given, cat reads from the standard input. Output is buffered in blocks
matching the input.

Read copies to standard output exactly one line from the named file, default standard
input. It is useful in interactive rc(1) scripts.

The -m flag causes it to continue reading and writing multiple lines until end of file; -n
causes it to read no more than nline lines.

Read always executes a single write for each line of input, which can be helpful when
preparing input to programs that expect line-at-a-time data. It never reads any more data
from the input than it prints to the output.

Nobs copies the named files to standard output except that it removes all backspace
characters and the characters that precede them. It is useful to use as $PAGER with the
Unix version of man(1) when run inside a win (see acme(1)) window.

SOURCE


/src/cmd/cat.c
/src/cmd/read.c
/bin/nobs

Use catplan9 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad