<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comentarios en: Bash: leer fichero linea por linea	</title>
	<atom:link href="https://soi57.net/blog/bash-leer-fichero-linea-por-linea/feed/" rel="self" type="application/rss+xml" />
	<link>https://soi57.net/blog/bash-leer-fichero-linea-por-linea/</link>
	<description>soi57.net/blog</description>
	<lastBuildDate>Mon, 10 Oct 2011 20:02:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7</generator>
	<item>
		<title>
		Por: yeestrada		</title>
		<link>https://soi57.net/blog/bash-leer-fichero-linea-por-linea/comment-page-1/#comment-1594</link>

		<dc:creator><![CDATA[yeestrada]]></dc:creator>
		<pubDate>Mon, 10 Oct 2011 20:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://soi57.net/blog/?p=457#comment-1594</guid>

					<description><![CDATA[Hola, no entendo bien como leer de un fichero. o que necesito hacer es leer una unica linea qeu va a tener el fichero y guardarla en una variable para poder usarla luego. Diganme que tengo mal aqui...

#!/bin/bash
file = &quot;name.txt&quot;

val = read -r FIRSTLINE &#060; $file
echo val

saludos
yordan]]></description>
			<content:encoded><![CDATA[<p>Hola, no entendo bien como leer de un fichero. o que necesito hacer es leer una unica linea qeu va a tener el fichero y guardarla en una variable para poder usarla luego. Diganme que tengo mal aqui&#8230;</p>
<p>#!/bin/bash<br />
file = «name.txt»</p>
<p>val = read -r FIRSTLINE &lt; $file<br />
echo val</p>
<p>saludos<br />
yordan</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
