...
 
Commits (2)
......@@ -343,7 +343,7 @@
author: cmdchallenge
description: |
In this challenge there are some directories containing files
with different extensionas. Print all directories,
with different extensions. Print all directories,
one per line without duplicates that contain
one or more files with a ".tf" extension.
example: find . -name "*.tf" -type f -exec dirname {} \; | sort | uniq
......
This diff is collapsed.
{"version": 1, "description": "In this challenge there are some directories containing files\nwith different extensionas. Print all directories,\none per line without duplicates that contain\none or more files with a \".tf\" extension.\n", "author": "cmdchallenge", "expected_output": {"lines": ["terraform", "terraform/modules/load_balancer", "terraform/modules/virtual_machine", "terraform/modules/vpn"], "order": false, "re_sub": ["^\\./", ""]}, "slug": "dirs_containing_files_with_extension", "example": "find . -name \"*.tf\" -type f -exec dirname {} \\; | sort | uniq"}
\ No newline at end of file
{"version": 1, "description": "In this challenge there are some directories containing files\nwith different extensions. Print all directories,\none per line without duplicates that contain\none or more files with a \".tf\" extension.\n", "author": "cmdchallenge", "expected_output": {"lines": ["terraform", "terraform/modules/load_balancer", "terraform/modules/virtual_machine", "terraform/modules/vpn"], "order": false, "re_sub": ["^\\./", ""]}, "slug": "dirs_containing_files_with_extension", "example": "find . -name \"*.tf\" -type f -exec dirname {} \\; | sort | uniq"}
\ No newline at end of file