title: AWK: How to number auto-increment?
body: <p>I have a file.file content is:</p>
  <pre class="lang-sh prettyprint-override"><code>20210126000880000003|3|33.00|20210126|15:30
  1|20210126000000000000000000002207|1220210126080109|1000|100000000000000319|100058110000000325|402041000012|402041000012|PT07|621067000000123645|收款方户名|2021-01-26|2021-01-26|10.00|TN|NCS|12|875466
  
  2|20210126000000000000000000002208|1220210126080110|1000|100000000000000319|100058110000000325|402041000012|402041000012|PT06|621067000000123645|收款方户名|2021-01-26|2021-01-26|20.00|TN|NCS|12|875466
  
  3|20210126000000000000000000002209|1220210126080111|1000|100000000000000319|100058110000000325|402041000012|402041000012|PT08|621067000000123645|收款方户名|2021-01-26|2021-01-26|3.00|TN|NCS|12|875466
  </code></pre>
  <p>I use awk command:</p>
  <pre><code>awk -F&quot;|&quot; 'NR==1{print $1};FNR==2{print $2,$3}'  testfile
  </code></pre>
  <p>Get the following result：</p>
  <pre><code>20210126000880000003
  20210126000000000000000000002207 1220210126080109
  </code></pre>
  <p>I want the number to auto-increase:</p>
  <pre><code>awk -F&quot;|&quot; 'NR==1{print $1+1};FNR==2{print $2+1,$3+1}' testfile
  </code></pre>
  <p>But get follow result:</p>
  <pre><code>20210126000880001024
  20210126000000000944237587726336 1220210126080110
  </code></pre>
  <p>have question:</p>
  <p>I want to the numer is auto-increase: hope the result is：</p>
  <pre><code>20210126000880000003
  20210126000000000000000000002207|1220210126080109
  -------------------------------------------------
  20210126000880000004
  20210126000000000000000000002208|1220210126080110
  --------------------------------------------------
  20210126000880000005
  20210126000000000000000000002209|1220210126080111
  </code></pre>
  <p>How to auto_increase?</p>
  <p>Thanks!</p>