Combining multiple bash parameter substitutions within same variable set line without using any other commands : <p>Example of what I want to combine:</p>

<pre><code>sVar=$(whoami)
sVar=${sVar^}
sVar=${sVar::1}
</code></pre>

<p>Output:</p>

<ul>
<li>Uppercase first character of username</li>
</ul>

<p>Requirements:</p>

<ul>
<li>One-liner</li>
<li>Do the rest of the processing with parameter substitutions except for the initial command substitution above $(whoami)</li>
</ul>

<p>I realize this can be done with tr, sed, awk, printf, cut, etc.; but that is not the point of the question.</p>

<p>Any help is appreciate!</p>

<p>This isn't the real code or anything indicative of what I am wanting to actually do.  I will often default (or try to) to using just one command over concatenating multiple commands.</p>

<p>I've seen other posts state that concatenating within the braces are not possible, but I know that everything is possible.</p>

<p>Please don't:</p>

<ul>
<li>Reference other posts as duplicate that say it's impossible</li>
</ul>
