Skip to content

Commit

Permalink
Add new challenge 'check_if_same_files'
Browse files Browse the repository at this point in the history
  • Loading branch information
parththaker committed Feb 7, 2017
1 parent 643e320 commit 2752624
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions challenges.yaml
Expand Up @@ -487,4 +487,15 @@
- 17.137.186.194
- 2.71.250.27
- 28.151.137.59
- slug: check_if_same_files
version: 1
author: cmdchallenge
disp_title: Check if given files are the same.
example: "if [[ `diff test1.bin test2.bin` ]]; then echo 'Files are different';else echo 'Files are the same'; fi"
description: |
test1.bin and test2.bin are two given files. Print "Files are the same" if both the files are the same and "Files are different" otherwise
expected_output:
order: false
lines:
- Files are different
########### END INTERMEDIATE
Binary file added var/challenges/check_if_same_files/test1.bin
Binary file not shown.
Binary file added var/challenges/check_if_same_files/test2.bin
Binary file not shown.

0 comments on commit 2752624

Please sign in to comment.