User Tools

Site Tools


howto:tipsandtricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:tipsandtricks [2019/11/14 13:16]
ccrosby [Using an interactive PBS session]
howto:tipsandtricks [2020/02/24 12:35] (current)
ccrosby [The DOS vs Unix end of line character problem]
Line 46: Line 46:
  
 Most codes use ASCII input or run script files. ​ These may or may not be affected by this problem, but if you get weird or unexpected behaviour, run dos2unix on all the ASCII files. Most codes use ASCII input or run script files. ​ These may or may not be affected by this problem, but if you get weird or unexpected behaviour, run dos2unix on all the ASCII files.
 +
 +If you have a lot of files in sub-directories,​ use the command <​code>​ find . -type f -print0 | xargs -0 dos2unix </​code>​ to recursively go through your directories and change all the files.
  
  
/var/www/wiki/data/attic/howto/tipsandtricks.1573730193.txt.gz · Last modified: 2019/11/14 13:16 by ccrosby