This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# little script found on this repo https://github.com/gpoblon/libft | |
# need the see whats going one here (even in the make file, style method with tputs for the "cursor") | |
MYPATH=$(pwd) | |
CUR_MAKEFILE=$MYPATH/Makefile | |
if [ -e $CUR_MAKEFILE ] | |
then | |
echo "regenerate Makefile" | |
sed "`grep -n 'SRC =' $CUR_MAKEFILE | sed 's/:.*//'`, \$d" $CUR_MAKEFILE > NEWMAKEFILE | |
grep 'SRC =' $CUR_MAKEFILE >> NEWMAKEFILE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /proc/cpuinfo | sed -nE 's/flag.*:.(.*)/\1/p' | tr ' ' '\n' | sort -u |
NewerOlder