<?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="http://soi57.net/blog/bash-leer-fichero-linea-por-linea/feed/" rel="self" type="application/rss+xml" />
	<link>http://soi57.net/blog/bash-leer-fichero-linea-por-linea/</link>
	<description>soi57.net/blog</description>
	<lastBuildDate>Sat, 05 May 2012 00:03:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>Por: yeestrada</title>
		<link>http://soi57.net/blog/bash-leer-fichero-linea-por-linea/comment-page-1/#comment-1594</link>
		<dc:creator>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>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 &lt; $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 = &#8220;name.txt&#8221;</p>
<p>val = read -r FIRSTLINE &lt; $file<br />
echo val</p>
<p>saludos<br />
yordan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

