openhatch / oh-mainline

The code that runs openhatch.org
http://openhatch.org
GNU Affero General Public License v3.0
242 stars 310 forks source link

In "diffpatch" mission's high hint, curl command has missing a command option to download #1797

Open gauravtatke opened 7 years ago

gauravtatke commented 7 years ago

In "diffpatch" mission, in high hint section, curl command is missing a command option to download.

In below 3 pages, in hint high section -

  1. Diffing individual files
  2. Diffing entire directories
  3. Patching entire directories

Curl command is given like below to download - curl -0 https://openhatch.org/missions/diffpatch/diffrecursive/recipes.tar.gz curl -0 https://openhatch.org/missions/diffpatch/diffsingle/nutty-pancake.txt

Issue: Running this command directly only displays the content of file on standard output. File is not downloaded.

Expected: To download, either -o outputfile or -O (capital o) should be given as below e.g. -

curl -0 https://openhatch.org/missions/diffpatch/diffrecursive/recipes.tar.gz -o recipes.tar.gz curl -O0 https://openhatch.org/missions/diffpatch/diffrecursive/recipes.tar.gz

Environment Tested on Ubuntu 14.04 and CentOS 6.5

gauravtatke commented 7 years ago

I would like to fix these issue if somebody could just point me right direction. Appreciate it!