[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] Re:Problem with ECHO -en
From: Jonas Holmberg <jonas.holmberg () axis ! com>
Date: 2002-02-20 2:16:03
[Download RAW message or body]
> Normally with regular Red Hat installed the following will change the
> text to red:
> echo -ne "\\033[1;31m"
> It will also leave the cursor on the same line.
> According to Busybox help, this can be done as well.
> However in practice you can't get the -n and the -e to work together.
> Only separate:
> echo -e "\\033[1;31m"
> Successful at changing color
> echo -n "Stay on this line: "
> Successful at staying put
> but if you do this:
> echo -ne "\\033[1;31m"
> -ne \033[1;31m
> echo -n -e "\\033[1;31m"
> -e \033[1;31m#
> echo -e -n "\\033[1;31m"
> Success at color change but puts a -n on the screen
Are you sure that you are using busybox echo? Try "/bin/echo" or
"busybox echo". Maybe you are using an echo builtin in your shell?
/Jonas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic