1.

Solve : Maintaining the file name in a piped find?

Answer»

That's not breaking it because that WORKS fine in the ORIGINAL one that I have.Alternative, using GNU awk.
Code: [Select]echo off
for %%I in (*.sql) do (
        gawk "/GRANT/&&/user_group/{print FILENAME\":\", $0}" %%I > newfile.txt
)



Discussion

No Comment Found