From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 8 Apr 2005 20:02:29 +0700 From: php-coder To: community@altlinux.ru Subject: Re: [Comm] date & time of file modification in shell Message-ID: <20050408130229.GA6222@mycomp.mydomain> Mail-Followup-To: community@altlinux.ru References: <4253B1AC.5080106@ngs.ru> <200504061401.20700.combr@vesna.ru> <1112791845.4253db255c672@cys.che.nsk.su> <20050406191544.GA16744@basalt.office.altlinux.org> <20050408040105.GA4457@mycomp.mydomain> <42564CEA.5000104@ngs.ru> <20050408120011.GA4382@mycomp.mydomain> Mime-Version: 1.0 Content-Type: text/plain; charset=cp1251 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050408120011.GA4382@mycomp.mydomain> X-Mailer: The Bat! (v1.61) X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 12:56:00 -0000 Archived-At: List-Archive: List-Post: --- php-coder 2005-04-08 19:00:11 +0700 +++ php-coder 2005-04-08 20:00:53 +0700 > STAT_DATE=$(echo $STAT | cut -d' ' -f1 | awk -F- '{printf $3"."$2"."$3}') Ошибку заметил... там где printf в конце нужно $1 написать вместо $3 Это я случайно ошибся... -- + php-coder + php-coder[at]ngs[dot]ru + ALTLinux Master 2.4 (kernel 2.4.26-std-up-alt10)