<?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=18199&amp;type=atom" />
	<updated>2012-01-26T22:51:12Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=18199</id>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246279#p246279" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Belovusova пишет:</cite><blockquote><p>Напишите на C программу, которая выдает в формате ls информацию о содержимом всех директорий, содержащихся в пути от корневого каталога до текущего местоположения программы, либо в пути, указанном в командной строке (если он задан).</p></blockquote></div><p>500 руб.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2012-01-26T22:51:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246279#p246279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246271#p246271" />
			<content type="html"><![CDATA[<p>Это даже не смешно..... <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /><br />Если в гугле вести &quot;си список файлов&quot;. Выдаст кучу решений этого вопроса. <br />В помощь могу дать цитату (из статьи доступной в первых ссылках с гугла и в которой есть годный исходник), которая даст пищу к размышлению:<br /></p><div class="quotebox"><blockquote><p>dirent.h is the header in the C POSIX library for the C programming language that contains constructs that facilitate directory traversing. The function is not part of the C standard, but is considered &quot;pseudo-standard&quot; and is usually portable between platforms.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[voral]]></name>
				<uri>https://linuxforum.ru/profile.php?id=841</uri>
			</author>
			<updated>2012-01-26T20:44:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246271#p246271</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246262#p246262" />
			<content type="html"><![CDATA[<p>Ребят, помогите, пожалуйста</p><p>Напишите на C программу, которая выдает в формате ls информацию о содержимом всех директорий, содержащихся в пути от корневого каталога до текущего местоположения программы, либо в пути, указанном в командной строке (если он задан).</p><p>спс</p>]]></content>
			<author>
				<name><![CDATA[Belovusova]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17506</uri>
			</author>
			<updated>2012-01-26T19:31:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246262#p246262</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227560#p227560" />
			<content type="html"><![CDATA[<p>припозднился я немного... так понял, уже решено/не актуально?</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2011-11-22T11:12:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227560#p227560</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227183#p227183" />
			<content type="html"><![CDATA[<p>еще раз спасибо</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T16:26:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227183#p227183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227179#p227179" />
			<content type="html"><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">echo -n &quot;Запрос:&quot;</div></p><p>Да и комбинации <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">echo &quot;Текст&quot;<br />echo</div></p><p>можно свернуть до<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">echo -e &quot;Текст\n&quot;</div></p>]]></content>
			<author>
				<name><![CDATA[bormant]]></name>
				<uri>https://linuxforum.ru/profile.php?id=732</uri>
			</author>
			<updated>2011-11-20T16:21:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227179#p227179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227165#p227165" />
			<content type="html"><![CDATA[<p>остался только один вопрос, конечно от него ничего не зависит в скрипте, но все же для себя чисто знать хочется, ввод идет на другой строке от запроса на ввод, можно ли как-то сделать чтобы все было на одной строке: запрос и ввод???</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T15:18:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227165#p227165</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227164#p227164" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>#!/bin/bash или #!/bin/sh</p></blockquote></div><p>всегда пишу первое<br />а на счет прав доступа знаю, без них не запустится)<br />все получилось, огромное всем спасибо за помощь, не мытьем, так катаньем, но главное результат, зато я понял, что это не мое, верстать сайт на php и html намного проще)<br />на вкус и цвет товарища нет)<br />еще раз выражаю всем благодарность!</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T15:15:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227164#p227164</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227134#p227134" />
			<content type="html"><![CDATA[<p>Также если делаешь исполняемым файло, то<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">chmod a+x файло.sh</div><br />запускать потом из текущего каталога допустим:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">./файло.sh</div><br />То важен загаловок:<br /></p><div class="codebox"><pre><code>#!/bin/bash или #!/bin/sh</code></pre></div>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2011-11-20T13:37:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227134#p227134</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227133#p227133" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Student_novi4ok пишет:</cite><blockquote><p>а надо bash lo.sh?</p></blockquote></div><p>Да, я же сказал, bash и sh разные.</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2011-11-20T13:35:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227133#p227133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227121#p227121" />
			<content type="html"><![CDATA[<p>а надо bash lo.sh?</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T13:04:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227121#p227121</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227120#p227120" />
			<content type="html"><![CDATA[<p>ну как я пишу, допустим sh lol.sh</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T13:02:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227120#p227120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227116#p227116" />
			<content type="html"><![CDATA[<p><strong>Student_novi4ok</strong>, а запускаешь точно башем?<br />bash &lt;файло&gt;<br />а то иногда <br />sh &lt;файло&gt;<br />а это разные вещи</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2011-11-20T12:49:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227116#p227116</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227108#p227108" />
			<content type="html"><![CDATA[<p>read -a colors<br />на эту строку ругается и дальше не идет,</p><p>3: declare: not found<br />Введите ваши любимые цвета (разделяя их пробелами).<br />read: 8: Illegal option -a</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T12:40:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227108#p227108</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите разобраться с заданием]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=227106#p227106" />
			<content type="html"><![CDATA[<p>спасибо вам огромнейшее, буду разбираться...</p>]]></content>
			<author>
				<name><![CDATA[Student_novi4ok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20532</uri>
			</author>
			<updated>2011-11-20T12:37:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=227106#p227106</id>
		</entry>
</feed>
