This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
hackerrank
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add error messages to hr
main
Titouan Rigoudy
11 years ago
parent
e58fb82862
commit
258be5e56a
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
hr
+ 4
- 0
hr
View File
@ -4,10 +4,14 @@ new() {
case "$1" in
case "$1" in
"py")
"py")
mkdir "$2" && cp skel.py "$2/$2.py" ;;
mkdir "$2" && cp skel.py "$2/$2.py" ;;
*)
echo "Unknown command: new $1" ;;
esac
esac
}
}
case "$1" in
case "$1" in
"new")
"new")
new "${@:2}" ;;
new "${@:2}" ;;
*)
echo "Unknown command: $1" ;;
esac
esac
Write
Preview
Loading…
Cancel
Save