Closed rfernandes closed 5 years ago
Result of running:
for dir in *; do [[ -d $dir ]] && ls $dir/*.hpp | { head -n 16 io/Buffer.hpp; echo -e "\n#ifndef TOOLBOX_${dir^^}_HPP\n#define TOOLBOX_${dir^^}_HPP\n"; sed 's/.*\/\(.*\)/#include "\1"/'; echo -e "\n#endif // TOOLBOX_${dir^^}_HPP"; } > $dir/$dir.new && mv $dir/$dir.new $dir/$dir.hpp ; done
Result of running: