move env.h -> scripts/

This commit is contained in:
2023-12-29 18:37:52 +01:00
parent 3a857e4d53
commit ad6a39e82a

15
scripts/env.sh Normal file
View File

@@ -0,0 +1,15 @@
# to be sourced, it allows to run C programs with libraries in ../lib.
export LD_LIBRARY_PATH=../lib
# to get the same output than the default (Makefile) one.
# usage:
# TIME command < inputfile
alias TIME='\time -f "\ttime: %E real, %U user, %S sys\n\tcontext-switch:\t%c+%w, page-faults: %F+%R\n"'
# Get (move) ~/Downloads/Day* file to README.html in current directory, then
# run "make org"
org() {
mv ~/Downloads/Day* README.html
make org
rm README.html
}