Search Results

Search: Posts Made By: fbird3
853
Posted By fbird3
My awk executable is not printing FILENAME...: why?
Hello, there!

I am running an executable awk script with 'source.awk input_file' and found that when I need to print FILENAME, or ENVIRON["AWKPATH"] or even FNR nothing happens [except for an...
1,712
Posted By fbird3
No, RudiC: no error messages, and the script does...
No, RudiC: no error messages, and the script does execute well for other instructions.
It is only when attempting to print those variables that I notice something is amiss.
The source.awk has the...
1,712
Posted By fbird3
Yes, Scrutinizer, I am aware that the .awk...
Yes, Scrutinizer, I am aware that the .awk extension is optional; but it should not prevent awk from printing those variables, I think...
As for the shebang, I am using '#!/usr/local/bin/awk -f'...
1,712
Posted By fbird3
My awk executable is not printing FILENAME...: why?
Hello, there!

I am running an executable awk script with 'source.awk input_file' and found that when I need to print FILENAME, or ENVIRON["AWKPATH"] or even FNR nothing happens [except for an...
1,745
Posted By fbird3
That's exactly what I was looking for. Thanks a...
That's exactly what I was looking for.
Thanks a bunch!
1,745
Posted By fbird3
awk variable into shell command "date -d": possible...?
Hello, there!
I am trying to pass an awk variable into a shell command ['date'] in order to collect the result into an awk variable; in Bash it does work, as in:

v='2'; date -d "now + $v weeks"
...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy