Thanks to Mann, here’s a reminder how to wrap long lines in the \tabular environment by inserting a predefined length. \begin{tabular}{|c|p{5cm}|p{5cm}|} topic & long line 1 & long line 2 \\end{tabular}
Filed under: Social science computing by Mark Manger
No Comments »
From Carlo Perassi (http://perassi.org/), a nice example of how to use awk and the parentheses in the bash shell to remove file extensions from multiple files. # substitute jpg with the extension you need (twice in the line) for i in $(ls *jpg | awk -F “.” ‘{print $1}’); do mv $i.jpg $i; done in […]
Filed under: Social science computing by Mark Manger
No Comments »