User Tools

Site Tools


sed:delete

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sed:delete [2020/08/17 10:02] 192.168.1.1sed:delete [2020/12/22 16:10] (current) peter
Line 1: Line 1:
 ====== SED - Delete ====== ====== SED - Delete ======
  
 +[[SED:Delete:Delete a specific line|Delete a specific line]]
 +
 +[[SED:Delete:Delete all instances of a character|Delete all instances of a character]]
  
 [[SED:Delete:Delete all lines of a file with N characters|Delete all lines of a file with N characters]] [[SED:Delete:Delete all lines of a file with N characters|Delete all lines of a file with N characters]]
 +
 +[[SED:Delete:Delete all lines with a specific string|Delete all lines with a specific string]]
  
 [[SED:Delete:Delete blank lines|Delete blank lines]] [[SED:Delete:Delete blank lines|Delete blank lines]]
 +
 +[[SED:Delete:Delete blank lines and insert one blank line after each line|Delete blank lines and insert one blank line after each line]]
  
 [[SED:Delete:Delete all CONSECUTIVE blank lines from file except the first|Delete all CONSECUTIVE blank lines from file except the first]] [[SED:Delete:Delete all CONSECUTIVE blank lines from file except the first|Delete all CONSECUTIVE blank lines from file except the first]]
Line 18: Line 25:
 [[SED:Delete:Delete every Nth line|Delete every Nth line]] [[SED:Delete:Delete every Nth line|Delete every Nth line]]
  
-[[SED:Delete:Deletes everything after first blank line|Deletes everything after first blank line]]+[[SED:Delete:Delete everything after first blank line|Delete everything after first blank line]] 
 + 
 +[[SED:Delete:Delete everything up to first blank line|Delete everything up to first blank line]]
  
 [[SED:Delete:Delete first N lines of a file|Delete first N lines of a file]] [[SED:Delete:Delete first N lines of a file|Delete first N lines of a file]]
 +
 +[[SED:Delete:Delete from Nth to last line|Delete from Nth to last line]]
 +
 +[[SED:Delete:Delete HTML tags|Delete HTML tags]]
  
 [[SED:Delete:Delete last line of a file|Delete last line of a file]] [[SED:Delete:Delete last line of a file|Delete last line of a file]]
Line 29: Line 42:
  
 [[SED:Delete:Delete last N lines of a file|Delete last N lines of a file]] [[SED:Delete:Delete last N lines of a file|Delete last N lines of a file]]
 +
 +[[SED:Delete:Delete leading angle bracket & space from each line (unquote a message)|Delete leading angle bracket & space from each line (unquote a message)]]
  
 [[SED:Delete:Delete leading blank lines at top of file|Delete leading blank lines at top of file]] [[SED:Delete:Delete leading blank lines at top of file|Delete leading blank lines at top of file]]
  
 [[SED:Delete:Delete leading whitespace (spaces, tabs) from front of each line|Delete leading whitespace (spaces, tabs) from front of each line]] [[SED:Delete:Delete leading whitespace (spaces, tabs) from front of each line|Delete leading whitespace (spaces, tabs) from front of each line]]
 +
 +[[SED:Delete:Delete leading zeroes from selected double quoted fields|Delete leading zeroes from selected double quoted fields]]
  
 [[SED:Delete:Delete nroff overstrikes (char, backspace) from man pages|Delete nroff overstrikes (char, backspace) from man pages]] [[SED:Delete:Delete nroff overstrikes (char, backspace) from man pages|Delete nroff overstrikes (char, backspace) from man pages]]
 +
 +[[SED:Delete:Delete range of lines|Delete range of lines]]
  
 [[SED:Delete:Delete trailing blank lines at end of file|Delete trailing blank lines at end of file]] [[SED:Delete:Delete trailing blank lines at end of file|Delete trailing blank lines at end of file]]
sed/delete.1597658557.txt.gz · Last modified: 2020/08/17 10:02 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki