I am currently try to write a shell script that will pipe the output into the read statement. It is not working at all. Example is "snmpget 172.1.1.1 public interfaces.ifNumber.0 | awk '{print $3}' | read NUM" It is not piping the output, which is a number, into the variable.
please have a look at Bugzilla #19747 *** This bug has been marked as a duplicate of 19747 ***