title: Script to display only comments from /etc/services file
body: <p>I need to write a bash script that takes service name as a parameter and display only comment that is after hash symbol in /etc/services but I have no idea how to cut only the comment part.</p>
  <p>The ,,it's working solution'' for me is to just:</p>
  <pre><code>grep &quot;^$1&quot; /etc/services | awk '{print $3,$4 ...
  </code></pre>
  <p>but I don't think this is a good one</p>
  <p>I'm searching for something like:</p>
  <p>[find the service] -&gt; print only the part from # till the end of the line</p>
  <p>I'm still learning so any solution with explanation or just a hint will be very helpful for me.</p>