« first day (223 days earlier)      last day (2176 days later) » 

9:04 AM
@EliahKagan aaaah
@EliahKagan very much so
@EliahKagan seems fine to me
sorry I didn't read this yesterday. Various things prevented me from having a chance to do that
 
 
2 hours later…
11:03 AM
@EliahKagan fun article :)
 
 
1 hour later…
12:17 PM
@Zanna No problem!
 
1:00 PM
@EliahKagan :D that's not silly at all.
 
I just meant the clause immediately following the colon was worded sillily. :)
 
 
3 hours later…
3:55 PM
I guess I say silly things like that all the time
 
Wanna post a rename answer to this question on Unix & Linux?
 
sure...
 
I thought you might be interested. Someone else--perhaps I--might eventually do it if you don't feel like it.
It occurs to me that this comment there is misleading. Taken literally, they are technically saying that prename should be used and not file-rename, but they probably mean (or would prefer to mean) that either of them should be used instead of rename.ul.
 
4:48 PM
isn't Larry Wall the author of file-rename?
 
I don't believe so.
He is the author if prename, the original Perl rename command.
 
if I do man rename on my system, which has file-rename, it says Larry Wall is the author
 
Huh.
So it does.
Let me look into this.
I had thought Robin Barker alone wrote the later one (file-rename) and not the earlier one (prename) but it seems to be the other way around.
 
ah! so, that comment was suggesting we should use file-rename and not any of the other renames
 
Yeah... though prename would probably be okay too.
Unless you recursively enumerate the paths and assign them to @ARGV in a BEGIN block instead of using find or globstar or something. BEGIN blocks don't seem to work right with prename.
ek@Io:~$ file-rename -n 'BEGIN { print "Hello, world!\n" } s/(.)\1/X/g' <<<$'foobar\nbaz\nquux'
Hello, world!
rename(foobar, fXbar)
rename(quux, qXx)
ek@Io:~$ prename -n 'BEGIN { print "Hello, world!\n" } s/(.)\1/X/g' <<<$'foobar\nbaz\nquux'
reading filenames from STDIN
Hello, world!
foobar renamed as fXbar
Hello, world!
Hello, world!
quux renamed as qXx
 
5:11 PM
haha what happened?
 
In prename, the code in the BEGIN block ran once per iteration of the loop instead of running before the loop. Or do you mean why?
 
well I guess my question wasn't a real question but more of an expression of amusement, but why that happened would be interesting to know :)
 
5:34 PM
@EliahKagan ah it would probably be better if you had done/did so...
 

« first day (223 days earlier)      last day (2176 days later) »