Home > Enterprise >  Iterate through chunks of a (somewhat structured) file in bash
Iterate through chunks of a (somewhat structured) file in bash

Time:07-20

I have a file containing the following "structured" text :

>some multiline-
>text
---
>in multiple chunks (this one for instance is the second of this sample)
---
>Their number, sizes and content are irregular
---
>they can't
>be known in
>advance
---
>And they'll contain pretty much any char whatsoever known or unknown in the universe
>like            
  • Related