How to take exponent of a column and add column to existing file using awk
<p>I have file1 as below </p>

<pre><code>log10_BF
-1
-2
-3
-4
</code></pre>

<p>I want to create a second file that has a second column which adds a header BF and shows the corresponding antilog value for each line to show this</p>

<pre><code>log10_BF BF
-1      0.1
-2      0.01
-3      0.001
-4      0.0001
</code></pre>

<p>So far I have been able to add the new header </p>

<pre><code>awk -F, 'NR==1{$0=$0" BF";} file1
</code></pre>

<p>I'm not sure how to go about getting the antilog value based on the values in column 1.</p>