[KLUG Members] url encode in a bash script: solution for RH 9
Bruce Smith
members@kalamazoolinux.org
Thu, 27 May 2004 11:00:47 -0400
> Ah, I found a solution, at least for for RH9.
Works on SuSE 9.x too.
> ...
> But, on a Linux 7.3 box, it gives me:
> Thu
>
> It appears the output of stat is different on the two OSes. Is stat
> output a configurable option?
Yeah, the older stat has a different output.
You'd be better off with a simple C program that outputs the date in the
format you want. That way you don't have to worry about "stat" upgrades.
Would like me to whip you up some C?
- BS