zsh-users
 help / color / mirror / code / Atom feed
* Having random output from a file
@ 2012-04-02 17:19 Mark van Dijk
  2012-04-02 17:25 ` Mikael Magnusson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mark van Dijk @ 2012-04-02 17:19 UTC (permalink / raw)
  To: zsh-users

Hello,

I have a file that contains quotes that are separated by a blank line. Can zsh
help me to randomly output a quote from that file or should I use awk, or grep
or so? Should the first quote be prefaced by a blank line?

Thanks for helping me,
-Mark.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-03 18:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-02 17:19 Having random output from a file Mark van Dijk
2012-04-02 17:25 ` Mikael Magnusson
2012-04-02 20:10   ` Mark van Dijk
2012-04-03 10:23 ` Eike von Seggern
     [not found] ` <20120403102304.GA12996__48421.5200799101$1333452094$gmane$org@matzbach>
2012-04-03 18:08   ` Christian Neukirchen

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).