Can we replace a line from file with other line (i.e. new string) having different size?
<p>Example-</p>

<pre><code>aa
bbb
ccc
jjj
</code></pre>

<p>Output-</p>

<pre><code>zzzzzz      &lt;- replaced aa by zzzzzz
bbb
ccc
jjj
</code></pre>
