Skip to content

Instantly share code, notes, and snippets.

@dichotomies
Created July 12, 2016 18:48
Show Gist options
  • Save dichotomies/a02cd4d43d520d16f7fa239183a1dd87 to your computer and use it in GitHub Desktop.
Save dichotomies/a02cd4d43d520d16f7fa239183a1dd87 to your computer and use it in GitHub Desktop.
Unix: tricks and facts

Pipe: combine wget and gunzip

wget -O - http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/tsp/pcb442.tsp.gz | gunzip > x.tsp

-O - means: Outputfile "None", write to console (such that gunzip gets name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment