Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. editsegments bigfile.dat
  2.  
  3. 1 1 L 1
  4. 2 2 L 2 *
  5. 3 3 L 3
  6. 4 4 L 4 *
  7. 5 5 L 5
  8. 6 6 L 6
  9. bigfile.dat (END)
  10.  
  11. 1 1 L 1
  12. 2 5 L 5
  13. 3 6 L 6
  14. bigfile.dat (END)
  15.  
  16. d 4:15 # line 2-4
  17.  
  18. 1 L 1
  19. 2 L 5
  20. 3 L 6
  21. bigfile.dat (END)
  22.  
  23. L
  24.  
  25. $FILE.segments
  26.  
  27. cp bigfile.dat.iedit /path/to/somewhere/else/bigfile.modified.dat
  28.  
  29. r 16:18 AAA
  30.  
  31. L
  32.  
  33. .
  34.  
  35. head -n 4 bigfile.dat > tempfile.dat
  36. tail -n +6 bigfile.dat | head -n 6 >> tempfile.dat
  37. tail -n +13 bigfile.dat | head -n 39 >> tempfile.dat
  38. tail -n 53 bigfile.dat >> tempfile.dat
  39.  
  40. `tail -n +x | head -n d`
  41.  
  42. bzcat input.bz2 | sed -e '...' | bzip > output.bz2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement