Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 1999 13:51:58 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        sogon@psytrance.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problem with cat command
Message-ID:  <199902281851.NAA13328@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <009201be6347$fc1adf80$3b58b5d1@psytrance.com> from "sogon@psytrance.com" at "Feb 28, 99 10:27:23 am"

next in thread | previous in thread | raw e-mail | index | archive | help
sogon@psytrance.com wrote,
> does anyone know what the limit of args to the cat command is,

The command itself appears to have no limit (from a quick peak at
'/usr/src/bin/cat/cat.c'). The limit you'll probably hit is the number
of arguments the shell is willing to take.

> basically what i want to do is cat 15000 files into another file how would i
> do this

Break it up into chunks. How to do this depends on your shell of
choice and the way the files are named.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902281851.NAA13328>