Search Results

Search: Posts Made By: Raul_Rodriguez
Forum: Solaris 05-01-2017
1,251
Posted By MadeInGermany
? The END section is optional. Put the computed...
? The END section is optional.
Put the computed target for print in brackets
print> ("a_" TMP "_ACTUAL_"months[substr($3,0,3)]"-20" substr($3,5,2)"_RR.txt")
And use nawk or /usr/xpg4/bin/awk
1,429
Posted By drysdalk
Hi, In terms of a solution for picking one...
Hi,

In terms of a solution for picking one (and only one) version of awk to use, the problem here is you're doing three checks that are un-related to each other, and (as you've found) if multiple...
3,361
Posted By RudiC
Hmmm, negligence from my side. Still, we're...
Hmmm, negligence from my side. Still, we're getting there! In the sub statement, replace /\.*$/ with /\..*$/ and try again. You should have a list of valid file names now. If happy, replace print...
3,361
Posted By RudiC
Wouldn't it be helpful if you listed the issues...
Wouldn't it be helpful if you listed the issues and posted the "accurate formatting" so we have something to work upon?

For your FILENAME extension problem in post#8 try to remove the extension...
3,361
Posted By RudiC
erroneous and not needed. If you want to use awk...
erroneous and not needed. If you want to use awk in the "shebang", the script needs to be pure awk.



not used in script and thus obviously not needed



WHAT is File? And, WHY two...
3,361
Posted By rbatte1
The shell commands are do and done, but you have...
The shell commands are do and done, but you have them as Do and Done

I suspect that the editor you are using automatically capitalises the first character of what it sees as a sentence. This is...
Showing results 1 to 6 of 6

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