Defindit Docs and Howto Home

This page last modified: Jun 30 2004
title:Using split and cat to help edit large files.


# That's 10Mb
split -b 10000000 filename.txt
# makes xaa  xab  xac  xad  xae  xaf ...
# grep for what you want, edit that file with emacs
cat xaa  xab  xac  xad  xae  xaf > new1.txt
# Using wildcards with cat seems to work fine too: 
cat x?? > new2.txt