From: <[EMAIL PROTECTED]>
> > How to get rid of that "PID: Terminated" stuff ?
> 
> Add a line to the top:
> 
> trap 'exit' 0 2 5 15

Thks. It does it. So final script should be:
#!/bin/sh
trap 'exit' 0 2 5 15
echo -n " "
while : ; do
        echo -e -n "\b"
        echo -n "\\"
        sleep 1
        echo -e -n "\b|"
        sleep 1
        echo -e -n "\b/"
        sleep 1
        echo -e -n "\b-"
        sleep 1
done

***Outcome***
Uncompressed:
# ls -la tick ticker
-rwxr-xr-x    1 root     root          200 Jan 23 23:24 tick
-rwxr-xr-x    1 root     root         3016 Mar 30  1999 ticker
Compressed:-
# ls -la *.lrp
-rw-r--r--    1 root     root          184 Jan 23 23:28 tick.lrp
-rw-r--r--    1 root     root         1483 Jan 23 23:28 ticker.lrp
Gain: 1,3K :-) + one migration problem resolved ...

Thanks

Jacques


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to