Commit Diff


commit - /dev/null
commit + 893d4d5be7d6b47b3e452c2406af83c33d841627
blob - /dev/null
blob + dc163f6818527bfab0500a154f870befe5c3091c (mode 755)
--- /dev/null
+++ nwpg.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+#		nwpg (NeW ProGram)
+#	Simple script that initiates a new project
+#	in the user's $HOME/hack directory.
+#	Such a project consists of a parent folder
+#	named after the project	and three files:
+#	the algorithm, the code, the documentation,
+#	i.e. main.algo, main.c, main.doc 
+
+mkdir -p $HOME/hack/$1 ;
+touch $HOME/hack/$1/main.{,doc,algo} ;
+
+#
+#		TODO
+#	Add support for choosing language
+#	i.e. either C, Python, Rust, &tc.
+#
+