Article View: alt.comp.os.windows-11
Article #1384Re: What does |> do?
From: J. P. Gilliver
Date: Sat, 28 Nov 2026 14:33
Date: Sat, 28 Nov 2026 14:33
56 lines
3842 bytes
3842 bytes
On 2026/11/28 2:34:27, Paul wrote: > On Fri, 11/27/2026 4:30 PM, J. P. Gilliver wrote: >> On 2026/11/27 5:6:56, Johann 'Myrkraverk' Oskarsson wrote: >> [] >>> It doesn't have to perfect, just something that'll help me remember com- >>> plex ffmpeg lines. >>> >>> >>> Best wishes, and happy batch files! >> >> I was trying to write a batch file incorporating yt-dlp, and I asked one >> of the AIs - either ChatGPT or the Google one, I can't remember - some >> fine point. >> >> It said something like "Would you like me to create the batch file for >> you?". >> >> I said yes, fully intending to examine and tweak the code. >> >> But I was very impressed with what it created: not only did the code do >> what I wanted, but it was to a standard that pleased me: nicely >> indented, with comments - not too many, not too few. >> >> Twenty years ago I might have done battle myself with the complexities >> of yt-dlp and ffmpeg. (Well, I'd have had to, as AIbots weren't around. [] > There are other outcomes possible.[lots of doubtless good stuff snipped.] Remember Johann was just trying to "remember com- plex ffmpeg lines." My point was just that where the requirement is to write a batch file involving ffmpeg - which I guessed might be what Johann was trying to do - AI might produce it for you; the various switches to ffmpeg (and, in my case, yt-dlp) are complex, and not (for me) at all easily remembered, and the AI produced a batch file that did what I wanted, also taking care - with local variables - of filename work; and did it all neatly laid out and commented, so I could see some idea what switches it was using and why. And the enhancements _it_ suggested were good suggestions. Yes, I did glance through the code to see if it did anything horrendous - like format C:, or start WWIII - and did test the batch. Yes, if you ask for more philosophical things, like solve the housing crisis or world poverty, ... but just something like a batch file to do something with (for example) ffmpeg, it's pretty good. Or teeling me how to microwave noodles, or why instructions say "hot but not boiling", or ... Though having said all that, next time I am chatting to it, if I remember, I /will/ ask it what the answer is to life, the universe, and everything - and I'll be most chuffed if it gives the answer I know! (No, I won't then go on to ask it what the question was.) -- J. P. Gilliver. UMRA: 1960/<1985 MB++G()ALIS-Ch++(p)Ar++T+H+Sh0!:`)DNAf Old professors don't fade away - they just lose their faculties.
Technical Details
Message-ID:
<11eeoo8$2l5fg$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<Sd8OS.7158$B3F4.2353@fx15.ams4> <11ecsq2$215iq$1@dont-email.me> <11edejk$26r9a$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: "J. P. Gilliver" <G6JPG@255soft.uk> Newsgroups: alt.comp.os.windows-11,alt.comp.os.windows-10 Subject: Re: What does |> do? Date: Sat, 28 Nov 2026 14:33:42 +0000 Organization: 255 software Lines: 56 Message-ID: <11eeoo8$2l5fg$1@dont-email.me> References: <Sd8OS.7158$B3F4.2353@fx15.ams4> <11ecsq2$215iq$1@dont-email.me> <11edejk$26r9a$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 28 Nov 2026 14:33:45 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2790896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183RSzF6qf5ztHgxgwNgZEs"; posting-host="c520fc2fcec466f99262122f8f24b152" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ckKtMURy+0N6RjNfi4lykCu1UdA= sha256:1XdrnjdBbGcsBObPuZcY3KNYiXTRQlxxmCTXQmfFbkI= sha1:B/1y6OcqS1Tv4YCEFcx7cN+bt3s= sha256:v9ESMqLKvB341v90ervH+s0jRX/hr9g3cuG2G3VzeWo= In-Reply-To: <11edejk$26r9a$1@dont-email.me> Content-Language: en-GB