Browse Source

grep

master
zeus 4 years ago
parent
commit
0119bc705b
  1. 1
      grep/0_Case_insensitive_search/code
  2. 0
      grep/0_Case_insensitive_search/codeanswer
  3. 0
      grep/0_Case_insensitive_search/codehelp
  4. 24692
      grep/0_Case_insensitive_search/data
  5. 5
      grep/0_Case_insensitive_search/info
  6. 0
      grep/0_Case_insensitive_search/q-info
  7. 2
      grep/intro
  8. 28
      index_grep.yml

1
grep/0_Case_insensitive_search/code

@ -0,0 +1 @@
grep -i "Jordan" $LLO_DATAFILE

0
grep/0_Case_insensitive_search/codeanswer

0
grep/0_Case_insensitive_search/codehelp

24692
grep/0_Case_insensitive_search/data

File diff suppressed because it is too large

5
grep/0_Case_insensitive_search/info

@ -0,0 +1,5 @@
The *grep* filter searches a file for a particular _pattern_ of _characters_, and displays all lines that contain that pattern.
The pattern that is searched in the file is referred to as the *__regular expression__* (grep stands for globally search for regular expression and print out).

0
grep/0_Case_insensitive_search/q-info

2
grep/intro

@ -0,0 +1,2 @@
How to use "grep" command on Unix/Linux operating systems.
Here you can find descriptions with simple examples of the "grep" command.

28
index_grep.yml

@ -0,0 +1,28 @@
--- # Programming language
name: "grep"
base_url: "https://git.swarmlab.io:3000/llo/LabLearningObject/raw/branch/master/index_grep.yml"
author: "zeus"
intro: "intro"
0_Case_insensitive_search:
display_name: "grep"
swarmlabservice: "os2"
info:
file: "0_Case_insensitive_search/info"
code:
lang: "bash"
exec: "/bin/bash"
file: "0_Case_insensitive_search/code"
data: "0_Case_insensitive_search/data"
options: ""
mimetype: "bash"
output:
log: "console"
mimetype: "bash"
challenge:
question: "0_Case_insensitive_search/q-info"
codehelp: "0_Case_insensitive_search/codehelp"
codeanswer: "0_Case_insensitive_search/codeanswer"
mimetype: "bash"
points: "" # ELO
output:
log: "bash"
Loading…
Cancel
Save