From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <45C891B0.8080600@vzljot.ru> Date: Tue, 06 Feb 2007 17:33:20 +0300 From: Vitaly Ostanin User-Agent: Thunderbird 1.5.0.8 (X11/20061205) MIME-Version: 1.0 To: ALT Linux Community X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig59D8EE1F51776518BAE0342E" X-Virus-Scanned: by amavisd-new at vzljot.ru Subject: [Comm] How to join lines with separator ? X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 14:32:02 -0000 Archived-At: List-Archive: List-Post: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig59D8EE1F51776518BAE0342E Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. =F7 =CF=DE=C5=D2=C5=C4=CE=CF=CA =D2=C1=DA =CC=CF=D7=CC=C0 =CB=CC=C9=CE. =F3= =CB=C1=D6=C9=D4=C5, =D0=CF=D6=C1=CC=D5=CA=D3=D4=C1, =CB=C1=CB=CF=C5 =C5=D3= =D4=D8 =D2=CF=C4=CE=CF=C5 =D3=D2=C5=C4=D3=D4=D7=CF =D7 UNIX =C4=CC=D1 =CF=C2=DF=C5= =C4=C9=CE=C5=CE=C9=D1 =D3=D4=D2=CF=CB =D7 =CF=C4=CE=D5, =D3 =D2=C1=DA=C4=C5=CC=C5=CE=C9=C5=CD =DA=C1=D0=D1=D4=D9=CD=C9? =F0=D9=D4=C1=CC=D3=D1 =C4=C5=CC=C1=D4=D8: cat file | tr '\n' ',' =D0=D5=D3=D4=CF=CA =D7=D9=D7=CF=C4. =E4=C1 =C9 =D0=CF=D3=CC=C5=C4=CE=D1=D1= =DA=C1=D0=D1=D4=C1=D1 =CE=C5 =CE=D5=D6=CE=C1. =ED=CF=D6=CE=CF =D3=C4=C5=CC=C1=D4=D8 =DE=C5=D2=C5=DA while read s; do echo -n $s; echo -n ',' , =CE=CF =D4=CF=D6=C5 =D0=CF=D3=CC=C5=C4=CE=D1=D1 =DA=C1=D0=D1=D4=C1=D1 =CC= =C9=DB=CE=D1=D1, =C4=C1 =C9 =CB=CF=D2=D1=D7=CF =CB=C1=CB-=D4=CF. --=20 Regards, Vyt mailto: vyt@vzljot.ru JID: vyt@vzljot.ru --------------enig59D8EE1F51776518BAE0342E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFyJG04uqsUQ7Y/CQRAgdWAKCcSP4Z8fH5UWUczAyFeY5W6vYsOQCgm1YO /o2P+AibIAigqtywAvnxQaI= =iQDS -----END PGP SIGNATURE----- --------------enig59D8EE1F51776518BAE0342E--