delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/07/30/08:14:24

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46UCENcw2178005
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=JRVd7iH9
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D75A3858410
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1722341662;
bh=1LSAl33kCLpvwb+urrL96QuD3AP5OyX4jFYyp4SHMeI=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=JRVd7iH9dDDNP8mSU+XtiFVC63hIdpNKzZwM3kUbyZdzLqxFltFDmuCE/zILZkYn+
aAfrXYYUpEcy0N9i8ey9Xh1WYhxP7uoEfV6fy9AhraAg5DcAOifzY81hiwpv+VXMYI
GD9vs2SMIP/O8dn5cBz6SG0alx3Bx/OsKmIwqJvo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A96243858420
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A96243858420
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722341606; cv=none;
b=T54ksdYTmaoBkWqE4+DAdBAQVRHiM6fKiWC7DYC11s3+Jp/BWlEkOIYFI43pgLbjI7fW84KweKxYXzGEY8NvGRXw6TDgIoglYfBGjNhyzLOAbQr2cnm9EdhR/716nFexx9jgOIbBg9XszekLk+yxRknpYJzWmoeUNTLE1gJnobE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1722341606; c=relaxed/simple;
bh=olKZMcxvztV/vPS1yGcIP+XyDT57XVyAq9EcZoXDJI0=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=cNpvENdCAXoY3fQ5XOmgt5Glvm6YCVz7Q1I9k0oVcgdJSdINAYXLyEUmJfl3oEWjfYF5U8upPN5aMHb+GLzOWDyL89SmuzAZmYvSyp9xcyD/yiouml5MUlpr/23dogeqpHUCsb3wi7N0Fu7KRjxh2N8eTxQPS60NXc40AJWnKzY=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1722341603; x=1722946403;
h=in-reply-to:from:content-language:references:to:subject:user-agent
:mime-version:date:message-id:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to;
bh=+Wa1NOaKhWc4W54QzSYONm4uwmm04Z9wn+iaF/2Pxi8=;
b=Y6/vdF6iEBPozwZfrGpXDGCF5MdW1uEdRrCRDuVAJTL0m/0Vuzu5Cka0gCnhcXZevP
52I/GRuwF7iO44u0iaIq/aTfFUwhTJL1JlCaKrDhIbzkS+iBYplvKsUcus6AfWp+Fy0m
3D8gWVud1mEopbX3MT3fTYbYFSk42nx5R0sYWWypBKM5mK1qccf7l0cU22BWAZ+78QcY
KWmAxvRqZSlH9IsEez3DviLHmM3Tfs/SHfVUwLeRrPVSBZZ7u1a0hfDRIkIR8htkQgEl
JBSJnMzzhTIFbOKZfhmG2C10AXFEjn2LC9LcwRYJITbuOthNHMG+fnmQ9wJpMlzVRiaq
9/kg==
X-Gm-Message-State: AOJu0YwLGeYbVaZasJSfGuQjMenAud0bb1sHt+EzJZ8Ejh1zKB473wvx
muZGwhKcVMsujyFzxzNqF6LCQlymEK1BMdJc8QqW/PMqyPIgPmASwgEHsw==
X-Google-Smtp-Source: AGHT+IHKqRj1YkKtXY/jjKW/V17SozgBne0HcP5pnD1leK8jdZo15yBeiAEBAJbNX0VENvGpjmQnxQ==
X-Received: by 2002:a05:600c:3111:b0:428:151b:e8e with SMTP id
5b1f17b1804b1-428151b1210mr65843795e9.10.1722341602723;
Tue, 30 Jul 2024 05:13:22 -0700 (PDT)
Message-ID: <9b53bc19-5813-436d-ad48-8ce44fad173c@gmail.com>
Date: Tue, 30 Jul 2024 14:13:20 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Why cygwin's history output is prefixed by two spaces?
To: cygwin AT cygwin DOT com
References: <CAC2zJ1vRh2kks2fx_+Pz1WpJcXevp+Z6xQdzoEXMJwAUHyoFtA AT mail DOT gmail DOT com>
In-Reply-To: <CAC2zJ1vRh2kks2fx_+Pz1WpJcXevp+Z6xQdzoEXMJwAUHyoFtA@mail.gmail.com>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Hans-Bernhard_Br=C3=B6ker_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Hans-Bernhard_Br=C3=B6ker?= <hbbroeker AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 46UCENcw2178005

Am 30.07.2024 um 12:35 schrieb Sophoklis Goumas via Cygwin:
> 0000000  sp  sp  sp   4   3  sp  sp   h   i   s   t   o   r   y  sp   |

> [...]
> 0000000  sp   7   3   5   1  sp  sp   h   i   s   t   o   r   y  sp   |

> Hypotheses/ideas/insights/explanations/conclusions?

Your conclusion about there being some extra prefix is premature.

That's just the number of the history entry, padded up to 5 characters 
with spaces for better alignment (as in

     printf("% 5d", ...)

Your cygwin was much fewer entries in the history of that particular 
shell instance, thus the number had only two digits. Your comparison 
target has accumulated much more history, thus the number has 4 digits.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019