Skip to content

Commit

Permalink
typofix
Browse files Browse the repository at this point in the history
  • Loading branch information
arzzen committed Dec 26, 2015
1 parent c4adb14 commit 1751a67
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ A command line PERT calculator for quick estimates.
Comma separated task list in the form "1,2,12 4,5,9 2,3,6", where whitespace separates tasks.

Usage:
pert [optimistic,realistic,pessimistic]
pert.sh [optimistic,realistic,pessimistic]

Example:
pert 1,3,4
pert 10,15,20 5,7,10
pert "1,2,3" "15,17,20"
pert.sh 1,3,4
pert.sh 10,15,20 5,7,10
pert.sh "1,2,3" "15,17,20"
</pre>

### Example
Expand Down
3 changes: 3 additions & 0 deletions pert
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

. pert.sh
8 changes: 4 additions & 4 deletions pert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
if [ -z "$1" ] || [[ "$1" =~ [-]*(help|h) ]]; then
echo -e "\nA command line PERT calculator for quick estimates."
echo -e "\nComma separated task list in the form \"1,2,12 4,5,9 2,3,6\", where whitespace separates tasks."
echo -e "\nUsage:\n\tpert [optimistic,realistic,pessimistic]\n"
echo -e "\nUsage:\n\tpert.sh [optimistic,realistic,pessimistic]\n"
echo -e "Example:"
echo -e "\tpert 1,3,4"
echo -e "\tpert 10,15,20 5,7,10"
echo -e "\tpert \"1,2,3\" \"15,17,20\"\n"
echo -e "\tpert.sh 1,3,4"
echo -e "\tpert.sh 10,15,20 5,7,10"
echo -e "\tpert.sh \"1,2,3\" \"15,17,20\"\n"
exit 1
fi

Expand Down

0 comments on commit 1751a67

Please sign in to comment.