Re: [PATCH v2] utilities/autodate: Restore compatibility with bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 25, 2019 at 08:29:39PM +0900, Akira Yokosawa wrote:
> On Tue, 24 Dec 2019 19:18:20 -0800, Paul E. McKenney wrote:
> > On Tue, Dec 24, 2019 at 03:19:31PM -0800, Paul E. McKenney wrote:
> >> On Wed, Dec 25, 2019 at 07:04:46AM +0900, Akira Yokosawa wrote:
> >>> On Tue, 24 Dec 2019 09:24:32 -0800, Paul E. McKenney wrote:
> >>>> On Mon, Dec 23, 2019 at 08:55:08PM +0900, Akira Yokosawa wrote:
> >>>>> >From 43bf4cc57125d756ccd14b629692c4ecdb5c36dc Mon Sep 17 00:00:00 2001
> >>>>> From: Akira Yokosawa <akiyks@xxxxxxxxx>
> >>>>> Date: Mon, 23 Dec 2019 20:52:46 +0900
> >>>>> Subject: [PATCH v2] utilities/autodate: Restore compatibility with bash
> >>>>>
> >>>>> Also improve uses of single quotes (without escaping) and
> >>>>> double quotes (with escaping) in the script.
> >>>>>
> >>>>> Fixes: 650f763c31e8 ("utilities/autodate: Mark released versions")
> >>>>> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
> >>>>> ---
> >>>>> Changes in v2:
> >>>>>
> >>>>>     o Modified title
> >>>>>     o Tested with both "dash" and "bash" as /bin/sh
> >>>>>
> >>>>>         Thanks, Akira
> >>>>
> >>>> It does work here, queued and pushed, thank you!
> >>>>
> >>>> In other non-urgent news, arxiv does not like "@" in filenames (see below
> >>>> for its complaints).  It -looks- like it is possible to make these instead
> >>>> be "=" by changing the 's/:/@/g ;' instances in utilities/gen_snippet_d.pl
> >>>> to 's/:/=/g ;', and then changing the pathnames containing "@" in the
> >>>> various .tex files to "=".  
> >>>
> >>> I'm not sure if targets in Makefile can contain "=".
> >>> Another approach would be to do the renames and substitutions on-the-fly
> >>> in toarxiv.sh.  Thoughts?
> >>
> >> Good point, I will try on-the-fly substitutions.  Thank you, and best of
> >> everything to you and yours over the holidays and the New Year!
> 
> Thank you!  And let me wish you all the best!
> 
> > And that worked, thank you!  I have committed the changes with your
> > Suggested-by.  And Arxiv is crunching away on it as well.  ;-)
> 
> Good to know!
> 
> Just wanted to make sure, does the uploaded autodate.tex have a proper
> "Release" line?  I think it should because there has been no change in
> its dependency since the tag "v2019.12.22a". But you might have touched
> something by accident during the update of toarxiv.sh.

Heh!  Yes, Makefile doesn't yet depend on all of the scripts, so that the
changes since the release tag don't affect it.  Except that I had added
(and since removed) another tag for test purposes.  So I hand-edited the
autodate.tex that the autodate.tex script produced for Arxiv, which is
shown below.  Admittedly crude, but expedient.  And next time, it should
Just Work.

But it seems reasonably likely that further changes to toarxiv.sh will
be needed, so it might actually be bad to add this script to the list
of dependencies, strangely enough!  ;-)

							Thanx, Paul

------------------------------------------------------------------------

\date{December 24, 2019 \\ Release 2019.12.22a }
\newcommand{\commityear}{2019}



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux