Re: Console hints and question

2024-10-11 Thread Dan
Thanks for the time and idea. Played with it but unfortunately I'm not skilled with sed and I should need further help or reference to solve the quiz. Drilling into details the content of text.txt appears to be processed as list of commands although I firstly produced the file on the fly. -D

Re: Console hints and question

2024-10-10 Thread Manuel Solis
Hello Dan, Perhaps one simple solution would be using sed(1), Suppose you have a file named 'test.txt' and the list you provided is there, you could run in shell: sed 's/celere.com/elettronica.lol/p' test.txt > results.txt Hope this helps you Manuel El vie, 4 oct 2024 a las 10:39, Dan () e

Re: Console hints and question

2024-10-09 Thread Dan
Want to thank, interactive shell script attached (supplied AS-IS) :)) -Dan Carsten Reith wrote: > Something like: > > for i in xml*/email/*; do mv $i `dirname $i`/po...@elletronica.lol; > done > > ? > > Cheers, > > Carsten > > Dan writes: > > > Hello, > > > > About *shelling*, I found

Re: Console hints and question

2024-10-04 Thread Carsten Reith
Something like: or i in xml*/email/*; do mv $i `dirname $i`/po...@elletronica.lol; done ? Cheers, Carsten Dan writes: > Hello, > > About *shelling*, I found two useful tricks to edit the filesystem. > > To speed up editing on folder file list: > nano *.xml (CTRL+S, CTRL+X) > > Recursively in

Re: Console hints and question

2024-10-04 Thread dan
Thank you, the solution could be fine but a little difficult to test and launch from 3 o'clock ahead in the night, I was searching for an easier trick. However for a shell script yours is a good approach, thinking. -Dan Carsten Reith : > Something like: > > for i in xml*/email/*; do mv $i `dirn