On Saturday 03 October 2009 19:51, Another Sillyname wrote: > Hi > > In bash using .bashrc I can use export PS1="[\t]" to give me the > current time of any command prompt, useful if I need to run a command > and then see what time it finished when I come back to that session. > > However \t doesn't work in .profile (nor does \A or \T) and no amount > of googling shows me an equivalent way of doing it, is it just a non > starter in a busybox session (I'm running busybox on an embedded > device I just aquired).
The \t is not implemented. If you want to do it, you need to add relevant code in libbb/lineedit.c, in parse_and_put_prompt() function. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
