Skip to content

Instantly share code, notes, and snippets.

View juliushaertl's full-sized avatar

Julius Härtl juliushaertl

View GitHub Profile
@juliushaertl
juliushaertl / gist:5483606
Created April 29, 2013 18:22
sysprog add exercise script
#!/bin/bash
mkdir a$1 # create folder
touch a$1/readme # create readme
touch a$1/a$1.c # create main c file
## Template for readme
echo "Autor: Julius Haertl
Systemprogrammierung SS 2013
Blatt 2: Prozesse unter Linux
@juliushaertl
juliushaertl / build.sh
Created April 29, 2013 18:21
sysprog build script
#!/bin/bash
echo "======= Sysprog Build Script ======="
for f in $(find $SrvDir* -maxdepth 0 -type d );
do
echo "Compiling $f"
sourcefile=""
for sf in $(find $f -iregex '.*\(c\)' -printf "%f\n")
do