Marconi Sergio Challenge #376

Open
wants to merge 2 commits into
from

Projects

None yet

3 participants

@MarconiS

solution:

  1. cd ./writing # supposing to be in data-shell/
  2. nano haiku.sh
  3. for line in Yesterday Today Software; do grep $line haiku.txt >> haiku_software.txt; done
  4. bash haiku.sh; cat haiku_software.txt
  5. haiku_software.txt would contain 4 lines: the three of the selected haiku, plus Today is a beautiful day (placed in the line after "Today it is not working", since it is called by the second argument of the for cycle)
  6. find . -name 'haiku.txt'
MarconiS added some commits May 31, 2016
@MarconiS MarconiS Update 06-find.md
solution: 
1. cd ./writing # supposing to be in data-shell/
2. nano haiku.sh
3. for line in Yesterday Today Software; do grep $line haiku.txt >> haiku_software.txt; done
4. bash haiku.sh; cat haiku_software.txt
5. haiku_software.txt would contain 4 lines: the three of the selected haiku, plus Today is a beautiful day (placed in the line after "Today it is not working", since it is called by the second argument of the for cycle)
6. find . -name 'haiku.txt'
c0f2f9a
@MarconiS MarconiS Merge pull request #1 from MarconiS/Marconi_Sergio-patch-1
Exercise Software Carpentry UFL Sergio Marconi
3ddfbff
@shwina shwina was assigned by gvwilson Jun 14, 2016
@gvwilson
Member

Can @shwina please decide whether or not to merge?

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