title: Combining two awk commands in single command
body: <p>I want to combine these two command and want to invoke single command</p>
  
  <p>In first command i am storing 4th column of x.csv(Separator ,) file in z.csv file.</p>
  
  <pre><code>awk -F, '{print $4}' x.CSV &gt; z.csv
  </code></pre>
  
  <p>In second command, i want to find out unique first-column value of z.csv(Separator-space) file.</p>
  
  <pre><code>awk -F\  '{print $1}' z.csv|sort|uniq
  </code></pre>
  
  <p>I want to combine these two command in single command,How can i do that?</p>