From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 17 Nov 2011 19:50:27 +0400 From: Sergey Vlasov To: community@lists.altlinux.org Message-ID: <20111117155027.GA6399@atlas.home> Mail-Followup-To: community@lists.altlinux.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: Subject: Re: [Comm] =?koi8-r?b?4dLJxs3F1MnLwSDXIGJhc2g=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2011 15:50:29 -0000 Archived-At: List-Archive: List-Post: --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 17, 2011 at 11:51:09AM +0400, Vladimir Karpinsky wrote: > =F5=D6=C5 =CE=C5=CB=CF=D4=CF=D2=CF=C5 =D7=D2=C5=CD=D1 =D0=D9=D4=C1=C0=D3= =D8 =CE=C1=CA=D4=C9 =D0=D2=CF=D3=D4=CF=C5 =D2=C5=DB=C5=CE=C9=C5 =D3=CC=C5= =C4=D5=C0=DD=C5=CA > =D0=D2=CF=C2=CC=C5=CD=D9: =CE=D5=D6=CE=CF =D0=D2=CF=C9=DA=D7=CF=C4=C9=D4= =D8 =D0=D2=CF=D3=D4=C5=CA=DB=C9=C5 =C1=D2=C9=C6=CD=C5=D4=C9=DE=C5=D3=CB=C9= =C5 =CF=D0=C5=D2=C1=C3=C9=C9 (=CB=C1=CB > =D0=D2=C1=D7=C9=CC=CF + =C9=CC=C9 -1 ;-)) =D3 "=C0=CC=C9=C1=CE=D3=CB=C9= =CD=C9" =C4=CE=D1=CD=C9 =C7=CF=C4=C1 (date +%j). > =F3=CC=CF=D6=CE=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F =D7 POSIX sh =D4=C1= =CB=CF=CA =D3=C9=CE=D4=C1=CB=D3=C9=D3 =CE=C5 =D0=CF=C4=C4=C5=D2=D6=C9=D7=C1= =C5=D4=D3=D1, =D0=CF=DC=D4=CF=CD=D5 =D7 =D3=CB=D2=C9=D0=D4=C1=C8 =CE=D5=D6=CE=CF =D1=D7= =CE=CF =D5=CB=C1=DA=D9=D7=C1=D4=D8 #!/bin/bash (=C9=D3=D0=CF=CC=D8=DA=CF=D7= =C1=CE=C9=C5 #!/bin/sh =D7 ALT =D0=CF=CB=C1 =CE=C5 =D0=D2=CF=D1=D7=C9=D4=D3=D1 =D7 =D7= =C9=C4=C5 =CF=DB=C9=C2=CF=CB, =CE=CF =D7 =CE=C5=CB=CF=D4=CF=D2=D9=C8 =C4=C9=D3=D4=D2=C9=C2=D5=D4=C9=D7=C1=C8 =D7 =D2=CF=CC=C9 /bin/sh =CD=CF=D6= =C5=D4 =CF=CB=C1=DA=C1=D4=D8=D3=D1, =CE=C1=D0=D2=C9=CD=C5=D2, dash). =F7=D9=D7=CF=C4=C9=D4=D8 =DE=C9=D3=CC=C1 =D7 =CE=D5=D6=CE=CF=CD =C6=CF=D2= =CD=C1=D4=C5 =CD=CF=D6=CE=CF =DE=C5=D2=C5=DA printf '%03d' $n . --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk7FLUMACgkQW82GfkQfsqI57ACgh8HPoRoqo5e+Jg9mgXt2QrCx RyAAniEwOubS/dmYVHOV7sWoFdJ5J/OA =cM/t -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--