[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Tue Nov 16 00:31:26 2004 -->
- <!--x-from-r13: wybqra ng gbhtuthl.arg (wnl) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] help with a tiny shell script -->
- <li><em>date</em>: Tue Nov 16 00:31:26 2004</li>
- <li><em>from</em>: jloden at toughguy.net (jay)</li>
- <li><em>subject</em>: [ale] help with a tiny shell script</li>
The result is 330 files like this:
2,0,0,1,1,3,1,10,2,0,2,1,1,0, * "short answer"
Each file is one line, with a set of comma deliminated numerical answers, then
one short answer question, separated by the star as you see above. What I
want to do is basically:
cat *.csv > append.csv
but I want to add a linebreak between each file. I can code this in python,
but that seems unnecessarily complicated, and I'm almost positive if I knew
how to utilize the shell better, I could do this in one command....can anyone
shed some light on this for me?
Thanks!
-Jay
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00693" href="msg00693.html">[ale] help with a tiny shell script</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00700" href="msg00700.html">[ale] help with a tiny shell script</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00691.html">[ale] What package contains "file" ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00693.html">[ale] help with a tiny shell script</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00699.html">[ale] What package contains "file" ?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00693.html">[ale] help with a tiny shell script</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00692"><strong>Date</strong></a></li>
<li><a href="threads.html#00692"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>