Search found 6 matches

by ThumpieBunnyEve
23 Jun 2021 06:28
Forum: DOS Batch Forum
Topic: Unicode Batch to inject LineNumbers
Replies: 11
Views: 6489

Re: Unicode Batch to inject LineNumbers

so far so perfect! I changed the first few lines to: @echo off &setlocal REM note to self, set "src=%~d1%~p1%~n1%~x1" is the same as set "src=%~f1" set "src=%~f1" echo source file is %src% set "dst=%~dpn1+LN%~x1" echo will save to %dst% so i can use it as a shortcut with parameters. and get out full...
by ThumpieBunnyEve
22 Jun 2021 16:55
Forum: DOS Batch Forum
Topic: Unicode Batch to inject LineNumbers
Replies: 11
Views: 6489

Re: Unicode Batch to inject LineNumbers

no not at the start of each line. definitely not. just, meh heres an example. yoda.bat @echo off REM this is a remark but i still want to see a line number after this gunky string @Line# . This is the current script line. REM @Line# this is the next script line. echo this here @Line# is a script lin...
by ThumpieBunnyEve
22 Jun 2021 13:22
Forum: DOS Batch Forum
Topic: Unicode Batch to inject LineNumbers
Replies: 11
Views: 6489

Z.pmk

@Line# was just a nice pusedo pattern to search for that i wouldn't commonly write in comments/rem/coding. Its a nice symbology for At Line Number in asci. As opposed to that unicode string i dreamed up. Using unicode for parsing is something i do regularly with non-batch scripting. And forgot is no...
by ThumpieBunnyEve
22 Jun 2021 08:47
Forum: DOS Batch Forum
Topic: Unicode Batch to inject LineNumbers
Replies: 11
Views: 6489

Re: Unicode Batch to inject LineNumbers

Preacher Steffen wrote ""I just try to prevent you from wasting time with stuff which is doomed to fail."" ~ahh-men Yeah i get it you all love JREPL here. But that's not what my OP asked about. the OP question asked for how to do it without JREPL This thread wasn't started as a request to be convert...
by ThumpieBunnyEve
21 Jun 2021 21:07
Forum: DOS Batch Forum
Topic: Unicode Batch to inject LineNumbers
Replies: 11
Views: 6489

Re: Unicode Batch to inject LineNumbers

i mean theoretically can just change the search-for to something like @Line# <search for 0 or more of any number> <until the first Space character> then to use it anywhere, if %debug% NEQ 0 echo script passing @Line# successfully. or if %debug% NEQ 0 echo script passing @Line#267 successfully. so it...
by ThumpieBunnyEve
20 Jun 2021 22:38
Forum: DOS Batch Forum
Topic: Unicode Batch to inject LineNumbers
Replies: 11
Views: 6489

Unicode Batch to inject LineNumbers

⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆ Second time trying to post this, I've additions to make to the prior post that didn't show up, and I've been waiting about 30 min or more for it to appear in the forum. So here it is again with my edits. so far I've formulated only this much of an idea from reading other forum posts: f...