uniq -c without additional spaces
<p>Is there an option in uniq -c (or an alternative) that doesn't add additional whitespaces around the count number? Currently I generally pipe it through sed, like so:</p>

<pre><code>sort | uniq -c | sed 's/^ *\([0-9]*\) /\1 /'
</code></pre>

<p>But this seems kinda redundant, particularly given how frequently I have to do this.</p>