Reputation:
I am using scplit
to split a large file where the spitting pattern is --
. My goal is to redirect all the splits into a pager rather than creating files. In the pager, I want to be able to watch one split at a time. The command to split the file turns out to be quite easy:
csplit -s --suppress-matched test.txt '/--/' '{*}'
But I do not know to to redirect the outputs to a pager. Is that possible?
Upvotes: 0
Views: 74