sed is just doing substitution. the equivalent of substitution in awk is gsub() or sub(). read the doc on how to use it. you will also find in the doc how to execute external commands in awk. its system() or the use of getline. If you are wondering where the doc is , see here
Thanks for pointing them out, I've looked into the docs and while the system() part is easy... I still don't know to get the same results with gsub() or sub()
I'm not even sure if there's a need of using gsub() / sub()
All I need is the fullpath that find gives without the name.txt part..
How can I get the variables to work within the awk script? I need those informations to execute another script.. like system("exscript $TEST t[1]"....)