<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; выравнивание]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=24824&amp;type=atom" />
	<updated>2012-10-22T19:46:00Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=24824</id>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305282#p305282" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><div class="quotebox"><cite>moshell пишет:</cite><blockquote><p>ps. Альберто, к сожалению я не имею соответствующих прав..</p></blockquote></div><p>Каких прав? Устанавливать программы?</p></blockquote></div><p>их самых</p>]]></content>
			<author>
				<name><![CDATA[moshell]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20870</uri>
			</author>
			<updated>2012-10-22T19:46:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305282#p305282</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305279#p305279" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>moshell пишет:</cite><blockquote><p>ps. Альберто, к сожалению я не имею соответствующих прав..</p></blockquote></div><p>Каких прав? Устанавливать программы?</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-10-22T19:33:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305279#p305279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305272#p305272" />
			<content type="html"><![CDATA[<p>спасибо всем</p><p>printf &#039;%-7s %-40s %-40s\n&#039; &quot;N/N&quot; &quot;RBS&quot; &quot;RNC&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vp1&quot; &quot;$vp1&quot; &quot;$descrVP1&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vc32&quot; &quot;$vc32&quot; &quot;$descrVC32&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vc36&quot; &quot;$vc36&quot; &quot;$descrVC36&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vc37&quot; &quot;$vc37&quot; &quot;$descrVC37&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vc38&quot; &quot;$vc38&quot; &quot;$descrVC38&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vc39&quot; &quot;$vc39&quot; &quot;$descrVC39&quot;<br />printf &#039;%-7s %-40s %-40s\n&#039; &quot;vc40&quot; &quot;$vc40&quot; &quot;$descrVC40&quot;</p><br /><br /><p>ps. Альберто, к сожалению я не имею соответствующих прав..</p>]]></content>
			<author>
				<name><![CDATA[moshell]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20870</uri>
			</author>
			<updated>2012-10-22T19:07:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305272#p305272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305238#p305238" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>lupo@gentoo-laptop ~ % equery b `which column`
 * Searching for /usr/bin/column ... 
sys-apps/util-linux-2.21-r1 (/usr/bin/column)
lupo@gentoo-laptop ~ % eix sys-apps/util-linux
[i] sys-apps/util-linux
     Available versions:  2.20.1 2.20.1-r1 (~)2.20.1-r2 2.21 2.21-r1 {{+cramfs crypt ddate loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode}}
     Installed versions:  2.21-r1(23:10:32 04.10.2012)(cramfs crypt ncurses nls perl unicode -ddate -loop-aes -old-linux -selinux -slang -static-libs -uclibc)
     Homepage:            http://www.kernel.org/pub/linux/utils/util-linux/
     Description:         Various useful Linux utilities</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-10-22T18:06:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305238#p305238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305235#p305235" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>esernar@moocs1n&gt; whereis column
column:
esernar@moocs1n&gt; whatis column
/usr/man/windex: No such file or directory
/usr/dt/man/windex: No such file or directory
/usr/share/man/windex: No such file or directory
/usr/openwin/man/windex: No such file or directory
esernar@moocs1n&gt; uname -a
SunOS moocs1n 5.10 Generic_147440-12 sun4u sparc SUNW,SPARC-Enterprise
esernar@moocs1n&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[moshell]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20870</uri>
			</author>
			<updated>2012-10-22T18:04:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305235#p305235</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305223#p305223" />
			<content type="html"><![CDATA[<p>ну и заодно <strong>man printf</strong></p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-10-22T17:56:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305223#p305223</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305221#p305221" />
			<content type="html"><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;man column</div><div class="fancy_spoiler"><div class="codebox"><pre><code>COLUMN(1)                                                     User Commands                                                     COLUMN(1)



NAME
       column - columnate lists

SYNOPSIS
       column [options] file...

DESCRIPTION
       The  column  utility  formats  its  input into multiple columns.  Rows are filled before columns.  Input is taken from file or, by
       default, from standard input.  Empty lines are ignored.

OPTIONS
       -c, --columns width
              Output is formatted to a width specified as number of characters.

       -t, --table
              Determine the number of columns the input contains and create a table.  Columns are delimited with whitespace, by  default,
              or with the characters supplied using the separator. Table output is useful for pretty-printing.

       -s, --separator separator
              Specify table separator (default is whitespace).

       -x, --fillrows
              Fill columns before filling rows.

       -h, --help
              Print help and exit.

ENVIRONMENT
       The environment variable COLUMNS is used to determine the size of the screen if no other information is available.

EXAMPLES
       sed &#039;s/#.*//&#039; /etc/fstab | column -t

SEE ALSO
       colrm(1), ls(1), paste(1), sort(1)

HISTORY
       The column command appeared in 4.3BSD-Reno.

AVAILABILITY
       The column command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.



util-linux                                                     October 2010                                                     COLUMN(1)</code></pre></div></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Как пример</div><div class="fancy_spoiler"><div class="codebox"><pre><code>lupo@gentoo-laptop ~ % which nicemount
nicemount () {
        (
                echo &quot;DEVICE PATH TYPE FLAGS&quot; &amp;&amp; mount | awk &#039;$2=$4=&quot;&quot;;1&#039;
        ) | column -t
}
lupo@gentoo-laptop ~ % nicemount
DEVICE               PATH                       TYPE         FLAGS
rootfs               /                          rootfs       (rw)
devtmpfs             /dev                       devtmpfs     (rw,nosuid,relatime,size=10240k,nr_inodes=219828,mode=755)
/dev/mapper/vg-root  /                          ext4         (rw,noatime,nodiratime,commit=0)
proc                 /proc                      proc         (rw,nosuid,nodev,noexec,relatime)
tmpfs                /run                       tmpfs        (rw,nosuid,nodev,relatime,mode=755)
sysfs                /sys                       sysfs        (rw,nosuid,nodev,noexec,relatime)
cgroup_root          /sys/fs/cgroup             tmpfs        (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc               /sys/fs/cgroup/openrc      cgroup       (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset               /sys/fs/cgroup/cpuset      cgroup       (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu                  /sys/fs/cgroup/cpu         cgroup       (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct              /sys/fs/cgroup/cpuacct     cgroup       (rw,nosuid,nodev,noexec,relatime,cpuacct)
devices              /sys/fs/cgroup/devices     cgroup       (rw,nosuid,nodev,noexec,relatime,devices)
freezer              /sys/fs/cgroup/freezer     cgroup       (rw,nosuid,nodev,noexec,relatime,freezer)
perf_event           /sys/fs/cgroup/perf_event  cgroup       (rw,nosuid,nodev,noexec,relatime,perf_event)
devpts               /dev/pts                   devpts       (rw,nosuid,noexec,relatime,gid=5,mode=620)
none                 /dev/shm                   tmpfs        (rw,nosuid,nodev,noexec,relatime)
fusectl              /sys/fs/fuse/connections   fusectl      (rw,relatime)
/dev/mapper/vg-home  /home                      ext4         (rw,nosuid,nodev,noatime,data=journal,commit=0)
tmpfs                /tmp                       tmpfs        (rw,noexec,nosuid,nodev,size=2800m,mode=1777)
/dev/sda3            /usr/portage/distfiles     ext4         (rw,noatime,nodiratime,commit=360)
/dev/sda4            /home/downloads            ext4         (rw,noatime,nodiratime,commit=0)
binfmt_misc          /proc/sys/fs/binfmt_misc   binfmt_misc  (rw,noexec,nosuid,nodev)</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-10-22T17:53:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305221#p305221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[выравнивание]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=305214#p305214" />
			<content type="html"><![CDATA[<p>помогите с выравниванием текста.</p><p>кусок кода<br />echo -e &quot;N/N\t\tRBS\t\t\t\t\tRNC&quot;<br />echo -e &quot;vp1\t\t$vp1\t\t$descrVP1&quot;<br />echo -e &quot;vc32\t\t$vc32\t\t$descrVC32&quot;<br />echo -e &quot;vc36\t\t$vc36\t\t$descrVC36&quot;<br />echo -e &quot;vc37\t\t$vc37\t\t$descrVC37&quot;<br />echo -e &quot;vc38\t\t$vc38\t\t$descrVC38&quot;<br />echo -e &quot;vc39\t\t$vc39\t\t$descrVC39&quot;<br />echo -e &quot;vc40\t\t$vc40\t\t$descrVC40&quot;</p><p>то что происходит<br />N/N&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RBS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RNC<br />vp1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AtmTrafficDescriptor=C1P8800&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=C1P8800<br />vc32&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3M20&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3M20<br />vc36&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3P1000M160&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3P1000M160<br />vc37&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3P1000M160&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3P1000M160<br />vc38&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3P1000M160&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U3P1000M160<br />vc39&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=C2P6500&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=C2P6500<br />vc40&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U42&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AtmTrafficDescriptor=U42</p><p>в качестве костыля можно конечно уменьшить количество \t<br />но энто не выход. если дескрипторы будут другими то опять получится пляска текста.</p><br /><p>спасбо</p>]]></content>
			<author>
				<name><![CDATA[moshell]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20870</uri>
			</author>
			<updated>2012-10-22T17:49:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=305214#p305214</id>
		</entry>
</feed>
