Mipos xerei kaneis?
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Mar 31 20:12:07 EEST 2006
On 2006-03-31 20:05, "m65 at vivodinet.gr" <m65 at vivodinet.gr> wrote:
>> H awk(1) sou kanei th douleia sou? :P
>
> Ok, kapoio tutorial?
Osa theleis. To Google einai mia xara kai mporei na sou brei xiliades.
Pros to paron, to parakatw mporei na se sprwksei sth swsth katey8ynsh:
$ echo 03-19-2005 | awk -F- '{print $3"-"$1"-"$2}'
2005-03-19
$ echo 03-19-2005 | awk -F- '{printf "%s-%s-%s\n",$3,$1,$2}'
2005-03-19
$ echo 03-19-2005 | awk -F- '{printf "%04d-%02d-%02d\n",$3,$1,$2}'
2005-03-19
$
More information about the Linux-greek-users
mailing list