Re: How to cut up a long line

2025-01-10 Thread William Michels via perl6-users
Hi Todd, ~$ raku -ne 'put $/.join("\n") if m:g/ .*? | \h+ > /;' todd_test.txt download='betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2' download='betterbird-128.6.0esr-bb20.en-US.linux-x86_64.tar.bz2' download='betterbird-128.6.0esr-bb20.es-AR.linux-x86_64.tar.bz2' See: https://docs.raku.

Re: I need help understanding a match

2025-01-12 Thread William Michels via perl6-users
~$ /Users/admin/rakudo/rakudo-2024.09/rakudo-moar-2024.09-01-macos-arm64-clang/bin/raku -e ' \ my Str $AltClickHere = lines[0]; \ my @AltArray = ($AltClickHere ~~ m:g/ download#literal .*? #any-character, one-or-more, frugal > #po

Re: I need help understanding a match

2025-01-13 Thread William Michels via perl6-users
Hi Todd, First I should apologize for one of my earlier posts. The first token was a bit of a jumble. I think now you just want the literal string "download" to start your capture. As per usual I tried a few different approaches to your regex problem, and posted what I thought was the best o

Re: rename and unc

2025-04-11 Thread William Michels via perl6-users
From Raku's `rename` man-page: "Note: some renames will always fail, such as when the new name is on a different storage device. See also: move." https://docs.raku.org/routine/rename HTH, Bill. PS. If you want Raku code fitting a 'create-backup; unlink-original; copy-backup-to-original-locati

Raku one-liners posted on Unix & Linux StackExchange

2025-05-20 Thread William Michels via perl6-users
Okay, tooting my own horn here: this past week I posted my 600th Unix & Linux StackExchange answer written in Raku: https://unix.stackexchange.com/search?q=user%3A227738+Raku Most of these answers are tagged "text-processing" (471 answers), while 122 answers mention the words "Raku" and "Unic

Re: Raku one-liners posted on Unix & Linux StackExchange

2025-05-24 Thread William Michels via perl6-users
t be: https://unix.stackexchange.com/questions/651035/how-to-count-total-number-of-lines-of-all-txt-files/745652#745652 Cheers! > On May 21, 2025, at 13:08, Sean McAfee wrote: > > On Tue, May 20, 2025 at 12:51 PM William Michels via perl6-users > mailto:perl6-us...@perl.org>> wrote:

StackOverflow's 2025 Developer Survey is live!

2025-06-01 Thread William Michels via perl6-users
https://stackoverflow.blog/2025/05/29/not-just-a-vibe-the-stack-overflow-developer-survey-is-really-here/ Hi, If you code in Raku please navigate to the link above to learn about this year's survey. Then complete the survey! If you code in Raku please be sure to mark the appropriate check box,

<    1   2   3   4