Skip to content

Commit d4af53f

Browse files
authored
stub_template (#369)
* remove example.sh stub; add stub_template * renamed to exercise_stub * revised * shortened version * used Bash the proper noun for the language not the executable * removed link * added quotes to raw * indent blcok in main
1 parent 9ccf1b8 commit d4af53f

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

_template/example.sh

-22
This file was deleted.

_template/exercise_stub

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
3+
# This stub should help you get started:
4+
# - Bash is flexible. You may use functions or write a "raw" script.
5+
#
6+
# - Complex code can be made easier to read by breaking it up
7+
# into functions, however this is sometimes overkill in bash.
8+
#
9+
# - You can find links about good style and other resources
10+
# for Bash in './README.md'. It came with this exercise.
11+
#
12+
# Example:
13+
# # other functions here
14+
# # ...
15+
# # ...
16+
#
17+
# main () {
18+
# # your main function code here
19+
# }
20+
#
21+
# # call main with all of the positional arguments
22+
# main "$@"
23+
#
24+
# *** REMOVE THIS STUB BEFORE SUBMITTING YOUR SOLUTION FOR MENTORING ***

0 commit comments

Comments
 (0)