Re: File - sed1line.txt
"dave leonard [email protected] [sed-users]" <[email protected]> Thu, 6 Jul 2017 09:20:20 +0000 (UTC)
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
A slightly better variation of method 3.
echo hello | sed ':a; /\n\{8\}/Q; G; P; ba'
No need to use the -n option at all.
thanksdave
[Non-text portions of this message have been removed]