Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4542

Re: minimal Easter 'calculator' for DOS

From "Kerr-Mudd, John" <admin@127.0.0.1>
Newsgroups alt.lang.asm, comp.os.msdos.programmer, alt.msdos.batch
Subject Re: minimal Easter 'calculator' for DOS
Date 2025-07-10 22:11 +0100
Organization To protect and to server
Message-ID <104paaa$29865$1@paganini.bofh.team> (permalink)
References <20250323071605.83c8b2b6b1ceb9f0e1e5a89f@127.0.0.1> <20250403210708.e5a73771187a78115466c12e@127.0.0.1> <20250404094643.398f2f1006fc73afe0dbd783@127.0.0.1> <20250404193559.ff0c9854391d776a78103c85@127.0.0.1>

Cross-posted to 3 groups.

Show all headers | View raw


On Fri, 4 Apr 2025 19:35:59 +0100, "Kerr-Mudd, John" <admin@127.0.0.1>
wrote:

> feh: I put up code I've been poring over for days, then next day
> find a shorter way:
> 
> (my ref: minease7, anyone following this should name it mineast2 if
> using the batch below)

Apologies. I'm an asshole. I just wanted to spam the ng.
I love spamming. Here is more batch code to spam the newsgroup by.
It's what I do as a troll.

 @echo off
 :: CleverShowEast.bat - a twist on your original
 :: Usage: CleverShowEast yyyy

 :: Check argument by jumping to label with dynamic name
 CALL :CHECKARG %1
 GOTO :EOF

 :CHECKARG
 :: If %1 is empty, jump to usage
 IF "%~1"=="" GOTO USAGE
 :: Get day and month via external tool
 FOR /F "tokens=*" %%i IN ('minEast %~1') DO SET DM=%%i
 :: Compose full date output
 ECHO %DM% %~1
 GOTO :EOF

 :USAGE
 ECHO Usage: %~nx0 yyyy
 ECHO where yyyy is in range 1900-2099
 ECHO Output is Day Month Year
 GOTO :EOF



-- 
Bah, and indeed Humbug.

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-03-23 07:16 +0000
  Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-03 21:07 +0100
    Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-04 09:46 +0100
      Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-04 19:35 +0100
        Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-07-10 22:11 +0100
          Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-07-11 10:38 +0100
  Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-24 10:34 +0100
    UK calendar program;  was Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-05-05 15:14 +0100
      Re: UK calendar program;  was Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-05-05 17:50 +0100
        Re: UK calendar program;  was Re: minimal Easter 'calculator' for DOS "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-05-05 21:19 +0100

csiph-web