9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] this history(1) is scratched
Date: Tue, 15 Nov 2022 12:49:42 +0100	[thread overview]
Message-ID: <C6E7AB1D14CC8BB51313712C2263B380@wopr.sciops.net> (raw)
In-Reply-To: <4F3FECF74D0D8AB5A41EA721BCAC9295@wopr.sciops.net>

On Mon Nov 14 00:20:45 +0100 2022, qwx@sciops.net wrote:
[...]
> diff 7fcf96b44dc4765605b827ba49d389b5711d7e72 uncommitted
> --- a//rc/bin/history
> +++ b//rc/bin/history
> @@ -6,7 +6,7 @@
>  
>  fn prfile {
>  	echo -n `{date $flagu -f 'MMM DD hh:mm:ss ZZZ YYYY' `{walk -e m $1}}
> -	walk -e psM $1 | awk '{printf " %s %lld [%s]\n", $1,$2,$3,$4}'
> +	walk -e psM $1 | awk '{$NF="["$NF"]"; print " "$0}'
>  }
>  
>  fn diffflags {
> @@ -31,12 +31,12 @@
>  		echo history: warning: $file does not exist >[1=2]
>  
>  	old=()
> -	ls -qr /n/$dump/*/*/$file >[2] /dev/null |
> +	ls -Qqr /n/$dump/*/*/$file >[2] /dev/null |
>  	sed  's/\(([^ ]*) *([^ ]*) *([^ ]*)\)/\1\2\3/p' |
>  	awk '"/n/'$dump/$since'" <= $2 {next}
>  	     $1 != qid {
>  		qid=$1
> -		gsub($1, "")
> +		gsub($1"[ \t]+", "")
>  		print}' |
>  	while(new=`$nl{read}){
>  		prfile $new

Unless there are any objections, I'll push this later today.
Thanks all!

Cheers,
qwx

  reply	other threads:[~2022-11-15 11:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12  8:15 qwx
2022-11-12 11:03 ` Eckard Brauer
2022-11-12 12:16   ` Eckard Brauer
2022-11-12 18:07     ` Eckard Brauer
2022-11-12 19:13 ` ori
2022-11-12 20:32   ` Eckard Brauer
2022-11-12 20:44     ` Eckard Brauer
2022-11-12 20:53       ` Eckard Brauer
2022-11-12 21:26     ` ori
2022-11-12 22:43       ` umbraticus
2022-11-13  3:35   ` Anthony Martin
2022-11-13 23:20     ` qwx
2022-11-15 11:49       ` qwx [this message]
2022-11-15 21:59         ` qwx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6E7AB1D14CC8BB51313712C2263B380@wopr.sciops.net \
    --to=qwx@sciops.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).