Some useful commands
- $ enscript -2Gr prmPlanner.H -o prmPlanner.ps
- Search for a string in the files:
$ grep -l 'DistGaussSample*' *.C - At command:
$ at 1200 [ENTER] command CTRL-D - Counting occurrences:
$ grep word file.txt |wc -l - Counting the number of lines in a directory:
wc -l * - The installation of boost has some problems related with the disjoint sets implementation. Adding
#includeboost/pending/disjoint_sets.hpp in the file
/graph/detail/incremental_components.hpp> solves the issue. - Some old codes complain about CLK_TCK:
#ifndef CLK_TCK
#define CLK_TCK CLOCKS_PER_SEC
#endif
The definition is not anymore in /usr/include/sys/time.h but on
/usr/include/time.h
0 Comments:
Post a Comment
<< Home