Hello to all,
i can not find a solution:
i have a file file1.txt looks like
4567;9803298ß;38840 (over thousands and thousands Lines)
And an external script "dosomething"
Now i need to do the following stepps:
1. Open the file
2 Cut the first 4 digits
3. Use them as a parameter to call an external script like: dosomething xxxx
4 Use the result of "dosomething xxxx" to replace the first 4 digits of this line...
5 print the line in output.
i am working with awk and i can not find a way to use this external skript in it...
Can someone PLEASE help?
thnaks!
i can not find a solution:
i have a file file1.txt looks like
4567;9803298ß;38840 (over thousands and thousands Lines)
And an external script "dosomething"
Now i need to do the following stepps:
1. Open the file
2 Cut the first 4 digits
3. Use them as a parameter to call an external script like: dosomething xxxx
4 Use the result of "dosomething xxxx" to replace the first 4 digits of this line...
5 print the line in output.
i am working with awk and i can not find a way to use this external skript in it...
Can someone PLEASE help?
thnaks!