s243a

strip_tray.sed

Mar 12th, 2021
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/bin/sed -nrf
  2. /.*<\/Swallow>.*/ {H;x;;s#(<Swallow.*>)(^</Swallow>)*(xload.*)(^</Swallow>)*(</Swallow>)##gp;s#.*##g;x}
  3. $! {H};
  4. $ {H;x;p}
  5. #$ {H;x;s#(<Swallow[^>]*>)(.*xload.*)(</Swallow>)##g;p}
  6.  
Advertisement
Add Comment
Please, Sign In to add comment