From: Sergey Vlasov <vsu@altlinux.ru> To: community@altlinux.ru, john@rmts.donpac.ru Subject: [Comm] Re: awk printf Date: Thu, 19 Jun 2003 16:25:24 +0400 Message-ID: <20030619162524.55244aa3.vsu@altlinux.ru> (raw) In-Reply-To: <3EF1A6CF.9010707@rmts.donpac.ru> On Thu, 19 Jun 2003 16:04:31 +0400 Прокопьев Евгений <john@rmts.donpac.ru> wrote: > Есть необходимость формировать отчеты с помощью awk и его printf, > обрезая слишком широкие колонки. Вот простой пример того, как мне не > удается уменьшить ширину колонки: > > $echo hello | awk '{printf "%2s\n", $1}' > hello echo hello | awk '{printf "%.2s\n", $1}' В info gawk всё написано. >From serge@ispr.nsk.su Thu Jun 19 16:37:58 2003 Return-Path: <serge@ispr.nsk.su> Delivered-To: community@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id 46C5449B6D for <community@lrn.ru>; Thu, 19 Jun 2003 16:37:58 +0400 (MSD) Received: from bar.ispr.nsk.su (bar.ispr.nsk.su [195.239.99.7]) by master.altlinux.ru (Postfix) with ESMTP id E498BE31CF for <community@altlinux.ru>; Thu, 19 Jun 2003 16:37:57 +0400 (MSD) Received: from alt.ispr.nsk.su (alt.ispr.nsk.su [195.239.99.12]) by bar.ispr.nsk.su (Postfix) with ESMTP id 665C251AC for <community@altlinux.ru>; Thu, 19 Jun 2003 19:37:58 +0700 (NOVST) Received: from alt.ispr.nsk.su (localhost [127.0.0.1]) by alt.ispr.nsk.su (Postfix) with SMTP id 4DF4CA2 for <community@altlinux.ru>; Thu, 19 Jun 2003 19:37:56 +0700 (NOVST) Received: by alt.ispr.nsk.su (Postfix, from userid 572) id 2B44C1447; Thu, 19 Jun 2003 19:37:56 +0700 (NOVST) Date: Thu, 19 Jun 2003 19:37:56 +0700 From: Serge Yatsenko <serge@ispr.nsk.su> To: community@altlinux.ru Subject: Re: [Comm] KDE =?koi8-r?B?0MXSxcvMwN7FzsnF?= =?koi8-r?B?IMvMwdfJwdTV0tkg13Vz?= Message-ID: <20030619123756.GA10812@alt.ispr.nsk.su> References: <20030619110325.GA11046@alt.ispr.nsk.su> <20030619111423.GD11838@mrkooll.tdr.pibhe.com> 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: <20030619111423.GD11838@mrkooll.tdr.pibhe.com> X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: community@altlinux.ru List-Id: <community.altlinux.ru> List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>, <mailto:community-request@altlinux.ru?subject=unsubscribe> List-Archive: </pipermail/community> List-Post: <mailto:community@altlinux.ru> List-Help: <mailto:community-request@altlinux.ru?subject=help> List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>, <mailto:community-request@altlinux.ru?subject=subscribe> X-List-Received-Date: Thu, 19 Jun 2003 12:37:58 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, Jun 19, 2003 at 02:14:23PM +0300, Maxim Tyurin wrote: > Если обновляешся из сизифа - читай соответствующую рассылку. Там этот > вопрос уже неоднократно обсуждался > Option "XkbLayout" "us,ru" > Option "XkbModel" "pc105" > Option "XkbRules" "xfree86" > # Option "XkbVariant" ",winkeys" > Option "XkbOptions" "grp:menu_toggle,grp:rwin_switch,grp_led:scroll" Спасибо. Помогло отчасти ( только тычком мыши в applet ) с дополнительной заменой Английская(сШа) на Англицкая (сшА) с ISO9995-3. Всего наилучшего, Сергей Яценко mailto: serge@ispr.nsk.su --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+8a6kXkpejTGZCyIRApPnAJ93g0Ijf5f2w7AP1YRDaJ3KC4vweQCeLDvR Ao0/6pdz6bypMg/blTDug9g= =zNgE -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- >From obidos@mail.ru Thu Jun 19 16:39:13 2003 Return-Path: <obidos@mail.ru> Delivered-To: community@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id AF98E49271 for <community@lrn.ru>; Thu, 19 Jun 2003 16:39:13 +0400 (MSD) Received: from ministry.ru (unknown [195.19.19.132]) by master.altlinux.ru (Postfix) with SMTP id A04D5E31CF for <community@altlinux.ru>; Thu, 19 Jun 2003 16:39:13 +0400 (MSD) Received: (qmail 30669 invoked from network); 19 Jun 2003 11:42:11 -0000 Received: from unknown (HELO tony.localnet) (195.19.19.233) by mx.ministry.ru with SMTP; 19 Jun 2003 11:42:11 -0000 Date: Thu, 19 Jun 2003 17:00:23 +0400 (MSD) From: Antonio <obidos@mail.ru> X-X-Sender: tony@tony.localnet To: community@altlinux.ru Subject: Re: [Comm] SBLive! =?koi8-r?b?KN7F0sXaIGFsc2Eg0yDNycTJKQ==?= In-Reply-To: <3EEF412D.8080804@progroup.ru> Message-ID: <Pine.LNX.4.44.0306191658290.750-100000@tony.localnet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: community@altlinux.ru, Antonio <obidos@mail.ru> List-Id: <community.altlinux.ru> List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>, <mailto:community-request@altlinux.ru?subject=unsubscribe> List-Archive: </pipermail/community> List-Post: <mailto:community@altlinux.ru> List-Help: <mailto:community-request@altlinux.ru?subject=help> List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>, <mailto:community-request@altlinux.ru?subject=subscribe> X-List-Received-Date: Thu, 19 Jun 2003 12:39:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 17 Jun 2003, Shrek wrote: > А где взять этот 8mbgmsfx.sf2 На компакт-диске с виндовыми драйверами лайва. Обратите внимание, что после копирования скорее всего придется привести имя файла к нижнему регистру, ибо в линуксе большие и маленькие буквы в именах файлов различаются, в отличие от. - -- Best regards, Tony. mailto:obidos@mail.ru -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+8bPq2gaLrWRbr5URAlT/AJ9nrmOgTLavj6EN4+PjR596R8yJGQCeNryQ tJzeU4NlDuecgux3sP3ZbwI= =ewT8 -----END PGP SIGNATURE-----
next parent reply other threads:[~2003-06-19 12:25 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-19 12:25 ` Sergey Vlasov [this message] 2003-06-20 6:28 ` [Comm] awk printf: const field size Прокопьев Евгений
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030619162524.55244aa3.vsu@altlinux.ru \ --to=vsu@altlinux.ru \ --cc=community@altlinux.ru \ --cc=john@rmts.donpac.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git