Trying to create a script to find out client version and patch level. Problem is when it runs it keeps prompting for "press any key to continue..." How do I get it to just keep going?
Here's the script:
#!/user/bin/ksh
bpplclients.exe -allunique -l|awk '{print $2}' > /tmp/clients.txt
while read line
do
bpgetconfig.exe -M $line VERSIONINFO CLIENT_NAME >> /tmp/version.txt
done < /tmp/clients.txt
Here's the output from ksh -x:
+ bpplclients.exe -allunique -l
+ awk {print $2}
+ > /tmp/clients.txt
+ < /tmp/clients.txt
+ read line
+ bpgetconfig.exe -M TSW40020 VERSIONINFO CLIENT_NAME
+ >> /tmp/version.txt
Press any key to exit . . .
Here's the script:
#!/user/bin/ksh
bpplclients.exe -allunique -l|awk '{print $2}' > /tmp/clients.txt
while read line
do
bpgetconfig.exe -M $line VERSIONINFO CLIENT_NAME >> /tmp/version.txt
done < /tmp/clients.txt
Here's the output from ksh -x:
+ bpplclients.exe -allunique -l
+ awk {print $2}
+ > /tmp/clients.txt
+ < /tmp/clients.txt
+ read line
+ bpgetconfig.exe -M TSW40020 VERSIONINFO CLIENT_NAME
+ >> /tmp/version.txt
Press any key to exit . . .