summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b010f18)
Relevant when quitting grml-live at the question stage.
# log output:
# usage: log "string to log"
# log output:
# usage: log "string to log"
-log() { echo "$*" >> $LOGFILE ; }
+log() { [ -n "$LOGFILE" ] && echo "$*" >> $LOGFILE ; }
# cut string at character number int = $1
# usage: cut_string 5 "1234567890" will output "12345"
# cut string at character number int = $1
# usage: cut_string 5 "1234567890" will output "12345"