Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 shell script tricks: splitting commands
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Sep 29 2006 :  11:24:38 AM  Show Profile  Reply with Quote
To all who are writing or changing shell scripts -- if you want to split a long command line into multiple lines for readability, you can do so, but to join them together, all lines except the last line in that command must end with a backslash ('\'). No spaces after it, no nothing. Otherwise the lines will not be concatenated.
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.36 seconds. Snitz Forums 2000