Date: Thu, 23 Sep 2010 08:59:36 -0700
> Which busybox version? I tried this on a box running Lenny with busybox
> 1:1.14.2-2 and it works correctly:
> gateway:~# ln -s /bin/busybox date
> gateway:~# echo $(./date +'%b %_d %T')
> Sep 23 08:57:55
> gateway:~#
hi tom,
i have the same issue on openwrt (0.9), which is pretty old:
r...@router:~$ busybox
BusyBox v1.4.2 (2007-08-08 08:29:39 CDT) multi-call binary
[...]
r...@router:~$ echo $SHELL
/bin/ash
r...@router:~$ ls -l `which ash`
lrwxrwxrwx 1 root root 7 Jan 1 2000 /bin/ash -> busybox
r...@router:~$ ls -l `which date`
lrwxrwxrwx 1 root root 7 Jan 1 2000 /bin/date -> busybox
r...@router:~$ echo $(date +'%b %_d %T')
Sep %_d 18:20:19
r...@router:~$ echo $(date +'%b %d %T')
Sep 23 18:20:23
best regards
felix
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users