Using gawk for Windows included in GnuWin32, how do you append the filename to a text file?.
This is an example of what I want:
Filename -> text.txt
"aaaa","bbbb","c"
The result should be:
"aaaa","bbbb","c","text.txt"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It exists (at least in Linux version) a variable
FILENAMEwith the name of the file in process. So use it: