OK...a little progress here.  This, at least, produces some output:

Code:
--------------------
    
  #!/bin/sh
  nc -w10 localhost 9090 <<EOF
  serverstatus
  exit
  EOF
  
  exit 0
  
--------------------


I have no idea why this works and a pipe doesn't.

Now...how to capture that output to a variable using backticks..


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=83539

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to