<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bourne Shell on Amit Agarwal Linux Blog</title>
    <link>/tags/bourne-shell/</link>
    <description>Recent content in Bourne Shell on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	<atom:link href="/tags/bourne-shell/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>parse and paste text</title>
      <link>/2020/06/08/parse-paste-text/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/2020/06/08/parse-paste-text/</guid>
      <description>&lt;p&gt;Lot of times, I copy the text but before pasting want to remove a word or make some other changes or add “wget” to the URL, quite common. So, I came up with this alias&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;replace=&#39;echo $(xclip -i)|sed &#39;s/text//&#39;|xclip -o&#39;&lt;/pre&gt;
&lt;p&gt;and this depends on xlip, which you can install with&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;dnf install xclip&lt;/pre&gt;</description>
    </item>
    
  </channel>
</rss>
