Search Results

Search: Posts Made By: fwirbel
Forum: AIX 01-11-2006
24,451
Posted By fwirbel
How to add an entry in the errpt
Hi,
I'm looking for a tool or a command to generate entries in the AIX error log (errpt).
I know the command errlogger but I need to simulate HARDWARE or TEMP entries for test purpose.
Anyone...
8,794
Posted By fwirbel
Thanks a lot for your help, it's working fine and...
Thanks a lot for your help, it's working fine and help me a lot.
Franck.
8,794
Posted By fwirbel
Thanks for your interest in my problem :-) ...
Thanks for your interest in my problem :-)
However, it's still not working on my AIX machine ... grrrr
awk '
{
print "-> "$0
printf "Enter response :"
system("read a; echo $a") | getline var1...
8,794
Posted By fwirbel
yes, but ...
I've try the following (as an exemple):
awk ' BEGIN {
printf "Enter response"
getline name < "-"
print name
}
{ a++ } ' /etc/hosts

But the script does not stop to ask my answer ...
Do I...
8,794
Posted By fwirbel
AWK : read unix command
Hi,
Is there a way to have something working like the read Unix command to stop a awk ask a question and get the result.
I've try system("read a") but it does not work.
Thanks.
Franck.
Showing results 1 to 5 of 5

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