[plug] send a line feed ?

Anthony J. Breeds-Taurima tony at cantech.net.au
Sat Apr 27 09:49:57 WST 2002


On Fri, 26 Apr 2002, Robert Andrews wrote:

> Hi all I have a script that I execute with the following command
> $MAGIC_HOME/broker/mgrqmrb -ReusePorts &
> everything works okay except I have to press the return key to get my curser
> back
> is there a way I can attach a line feed or return key sequence to the above
> line.
> Thanks.
> 

I assume you need the newline because the script itself (or
MAGIC_HOME/broker/mgrqmrb) sends output to stdout (or stderr).

You can if you like grabe that output for reference later by doing something
like:
---
#!/bin/bash 

exec </dev/null >~/tmp/mgrqmbr.log 2>&1
$MAGIC_HOME/broker/mgrqmrb -ReusePorts &
---

HTH


Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */



More information about the plug mailing list