Deleting lines ending with period(.) from a file using shell script
<p>I am trying to delete lines from a file that ends with period symbol. I am using the following command to do this</p>

<pre><code>awk '!/.$/' abc.txt &gt; abcd.txt
</code></pre>

<p>I tried using below commands as well</p>

<pre><code>awk '!/\.$/' abc.txt &gt; abcd.txt
awk '!/\\.$/' abc.txt &gt; abcd.txt
awk '!/[.]$/' abc.txt &gt; abcd.txt
awk '!/[\.]$/' abc.txt &gt; abcd.txt
</code></pre>

<p>But, still I am getting below error</p>

<pre><code>awk: unexpected character '.'
</code></pre>

<p><strong>EDIT1:</strong>
If I want to add multiple conditions in awk for the same purpose like 
if a sentence has period symbol (.) or percentage (%) symbol, etc. then remove the line. How could I add multiple conditions in awk?</p>

<p>Could anyone please help me solve this issue?</p>

<p>Thanks</p>