From jd1008 at gmail.com Mon Nov 2 18:52:54 2015 From: jd1008 at gmail.com (jd1008) Date: Mon, 2 Nov 2015 11:52:54 -0700 Subject: [Surfraw-devel] Need help with surfraw Message-ID: <5637B106.30609@gmail.com> What I want is to have the text output of a limited number of hits found, and I want that output saved in a file. How do I do that. So far I have tried surfraw youtube SomeArtistName -browser=links but that does not give me the list to save in a file. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonwryan at gmail.com Tue Nov 3 08:17:13 2015 From: jasonwryan at gmail.com (Jason Ryan) Date: Tue, 3 Nov 2015 21:17:13 +1300 Subject: [Surfraw-devel] Need help with surfraw In-Reply-To: <5637B106.30609@gmail.com> References: <5637B106.30609@gmail.com> Message-ID: <20151103081713.GA1287@Shiv> On 02/11/15 at 11:52am, jd1008 wrote: >What I want is to have the text output of a limited number of hits found, >and I want that output saved in a file. > >How do I do that. > >So far I have tried > >surfraw youtube SomeArtistName -browser=links > >but that does not give me the list to save in a file. > Hi, Could you please provide an example of the type of input and output that you are after? You can redirect the output to a file[0], but presumably you want to process that to filter for relevant content? 0. See, for example, http://wiki.bash-hackers.org/syntax/redirection /J -- http://jasonwryan.com/ GPG: 7817 E3FF 578E EEE1 9F64 D40C 445E 52EA B1BD 4E40 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: not available URL: