brittluna | morning | 05:11 |
---|---|---|
zxmpi | o/ | 06:33 |
brittluna | https://streaming.media.ccc.de/emf2024/stagec british train nerdery | 14:35 |
* penguin42 wonders if they've got a handle on the radioactive sources yet | 14:49 | |
brittluna | penguin42: just saw that on Mastodon me and the partner just got home from the bar | 14:51 |
zxmpi | i wonder how many geeks had their own geiger counter on them? :-P | 14:51 |
Obsdark | Hello there | 17:00 |
Obsdark | Let's say i'm trying to get written all the names of certain types of files from a specific folder and dropping that down to a txt file, let's say than for this i'm using find | 17:01 |
Obsdark | Which i am using btw for that purpose | 17:01 |
Obsdark | But how can i take that output (from the find command) and make it so it reformat the content of that file in some way? | 17:01 |
Obsdark | for instance, modify each row using certain specific pattern | 17:02 |
Obsdark | What would be the best approach for this? | 17:02 |
Obsdark | the change must happend automatically | 17:02 |
penguin42 | Obsdark: Should we say is that your homework? | 17:03 |
penguin42 | seems an odd way of asking :- | 17:04 |
Obsdark | No it was not, but rest easy, i found a way a while ago | 19:00 |
Obsdark | i wasn't sure what approach to take, but finally i just find a way after some experimenting | 19:01 |
Obsdark | The question tho was with that in mind, read what approaches other people has taken in the past, what could be better for, or worst for | 19:02 |
Obsdark | that kind of thing | 19:02 |
* penguin42 would just use sed or awk (flipping into python if it gets hard) | 19:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!