www.commandlinefu.com


SUBMITTED BY: Guest

DATE: Dec. 16, 2013, 7:55 a.m.

FORMAT: Bash

SIZE: 299 Bytes

HITS: 747

  1. #!/bin/bash
  2. for x in `seq 0 25 $(curl "http://www.commandlinefu.com/commands/browse"|grep "Terminal - All commands" |perl -pe 's/.+(\d+),(\d+).+/$1$2/'|head -n1)`; do curl "http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/$x" ; done > cf_all0.txt

comments powered by Disqus