|
Re: lug-bg: modifikacia na sring
- Subject: Re: lug-bg: modifikacia na sring
- From: tzz@xxxxxxxxxxxx (Ted Zlatanov)
- Date: Fri, 07 Feb 2003 08:04:05 -0500
On Fri, 7 Feb 2003, lugbg@xxxxxx wrote:
> niakoi shte mi napishe li script s koito niz vyv format 08-01-03 da
> se zamesti s 2003-01-08. 10q
°ÚÞ ßàØÕÜÕÜ, çÕ ÓÞÔØÝÐâÐ Õ ÒØÝÐÓØ 2000 + ??:
echo 08-01-03 | perl -pe '$_ = $3+2000 . "-$2-$1" if m/(\d\d)-(\d\d)-(\d\d)/'
½Þ âÞÒÐ éÕ àÕèØ, çÕ 99 Õ 2099. ÂÐÚÐ çÕ ÚÐÖØ Þâ ÚÞï ÓÞÔØÝÐ ÔÞ ÚÞï âÕ
ØÝâÕàÕáãÒÐ.
ÂÕÞ
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|