<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>sed on Shylock Hg</title>
    <link>/tags/sed/</link>
    <description>Recent content in sed on Shylock Hg</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 02 Apr 2018 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="/tags/sed/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Usage Of Sed</title>
      <link>/post/2018/04/02/usage-of-sed/</link>
      <pubDate>Mon, 02 Apr 2018 00:00:00 +0000</pubDate>
      
      <guid>/post/2018/04/02/usage-of-sed/</guid>
      <description> Typical usage sed SCRIPT INPUTFILE... &amp;gt; OUTPUTFILE
note:if INPUTFILE==OUTPUFILE must call sed with option -i. note:default INPUTFILE is stdin,default OUTPUTFILE is stdout.
Characters substitution  sed &amp;quot;3,5s/pattern/object/1&amp;quot; inputfile &amp;gt; outputfile:replace the first matched characters in 3-5th lines by pattern with object.  sed &amp;quot;s/pattern/object/3g&amp;quot; inputfile &amp;gt; outputfile:replace the 3-infinite matched characters in each line by pattern with object.   </description>
    </item>
    
  </channel>
</rss>