Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2009 18:19:10 -0500
From:      Eitan Adler <>
To:        Polytropon <>
Cc:        FreeBSD Questions <>
Subject:   Re: Tool to uncat file
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Polytropon wrote:
> Dear list,
> before starting to code on my own, I'd like to ask if there's already a
> tool to uncat files, defining the file separation position as a string
> of bytes, usually given in hexadecimal form.

> Is there such a tool, or any other ideas?

If I understand correctly you are looking for split(1).
     -p pattern
             The file is split whenever an input line matches pattern, which
             is interpreted as an extended regular expression.  The matching
             line will be the first line of the next output file.  This
             is incompatible with the -b and -l options.

Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen

Want to link to this message? Use this URL: <>