Posts Tagged ‘shell’
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005 Compiled by Eric Pement – pemente[at]northpark[dot]edu version 5.5 Latest version of this file (in English) is usually at: http://sed.sourceforge.net/sed1line.txt http://www.pement.org/sed/sed1line.txt This file will also available in other languages: Chinese – http://sed.sourceforge.net/sed1line_zh-CN.html Czech – http://sed.sourceforge.net/sed1line_cz.html Dutch – http://sed.sourceforge.net/sed1line_nl.html French – http://sed.sourceforge.net/sed1line_fr.html German – http://sed.sourceforge.net/sed1line_de.html Italian [...]
If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. To write a program to do this in a language such as C or Pascal is a time-consuming inconvenience that may [...]

