Show/hide menu MyFrama Jenny
  • Picture wall
  • Daily
  • Search
  • Display options
    • Links per page:
    • 20 links
    • 50 links
    • 100 links
  • RSS Feed
  • Login
1 results tagged sed  x

 Link list

The UNIX School: sed - 25 examples to delete a line or pattern in a file
Mon 25 Jun - 12:17

sed '1d' file Delete the 1st line
sed '$d' file Delete the last line
sed '2,4d' file Delete a range of lines, from 2nd line till 4th line
Delete lines other than the specified range sed '2,4!d' file
sed '1d;$d' file Delete the first line AND the last line of a file

....

linux sed
http://www.theunixschool.com/2012/06/sed-25-examples-to-delete-line-or.html

 Tags


  • dégooglisons
  • Android
  • linux
  • drupal
  • framemo
  • framagenda
  • git
  • wikipedia
  • pi

Tag cloud

Shaarli - The personal, minimalist, super-fast, database free, bookmarking service
by the Shaarli community - Help/documentation