<table><tr><td style="">ahmadsamir updated this revision to Diff 33651.<br />ahmadsamir edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-7wfot4whv6iueai/">(Show Details)</a><br />ahmadsamir added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12621">View Revision</a></tr></table><br /><div><div><p>Use remove() instead of replace()</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> exported</span> env var is exported as a numeric string (by removing the<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> dots from</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">dots from </span>the version string), this has the benefit of making it simpler<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> to compare</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">to compare </span>the version in shell arithmetic expressions.<div style="padding: 8px 0;">...</div>for terminal capabilities (e.g. DECSCUSR) by <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">creat</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">us</span>ing a condition<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> that</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">depending on</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">checks</span> the konsole version. See also:<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D12621?vs=33599&id=33651">https://phabricator.kde.org/D12621?vs=33599&id=33651</a></div></div><br /><div><strong>BRANCH</strong><div><div>konsole-version-env-var</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12621">https://phabricator.kde.org/D12621</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/SessionManager.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Konsole, hindenburg<br /><strong>Cc: </strong>Konsole, herrold, ngraham, hindenburg<br /></div>