Path: csiph.com!aioe.org!.POSTED!not-for-mail From: "Zangune" Newsgroups: alt.comp.lang.shell.unix.bourne-bash Subject: Re: tr squeeze repeats does not remove multiple spaces coming from a piped du command Date: Thu, 4 Oct 2018 01:44:19 +0200 Organization: Aioe.org NNTP Server Lines: 17 Message-ID: References: Reply-To: "Zangune" NNTP-Posting-Host: sTtZ1UIg/NXk8aO3UtBd6Q.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-Notice: Filtered by postfilter v. 0.8.3 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: csiph.com alt.comp.lang.shell.unix.bourne-bash:238 "Michael F. Stemper" wrote > du -c dtd | sed 's/\t/tab/g' > 84tabdtd > 84tabtotal Thanks, I can confirm that a sed substitution shows me that there is a single "tab" between the last number and the "total" word. Indeed, if I leftclick on a terminal just after the last number and I highlight what I can find between the numbers and the "total" word, the highlight "trace" shows me four spaces; more than this, the highlighted characters are automatically copied and, when pasted, they appear as four spaces. That fooled me, but I guess this behaviour of the program I use for terminal emulation is intentional, I have to investigate about that. Regards.