Search Results

Search: Posts Made By: rwalker
52,659
Posted By RudiC
I regret it doesn't work out that well for you....
I regret it doesn't work out that well for you. Unfortunately I could do only very basic testing without some serious test data, but it worked for me. Must be a awk version problem, probably with the...
52,659
Posted By RudiC
No need to define X="*" if you don't need it. I...
No need to define X="*" if you don't need it. I proposed that because in the first version you wanted all three *cpes when $1 was empty. So - remove that and just print the error message.
Then, to...
52,659
Posted By RudiC
awk's sub function needs two or three...
awk's sub function needs two or three parameters; you supply but one.
awk uses regexes, not (shell) patterns; the latter uses * for a wildcard char, the former [ICODE] . [/ICODE, optionally...
52,659
Posted By RudiC
That is NOT what I posted. "devices" is not...
That is NOT what I posted. "devices" is not defined and thus the empty string. Pls post the result of
awk '/JUNOS/ && /boot/ {print FILENAME $5}' *cpe.domain.net/show.version
Showing results 1 to 4 of 4

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