Diff of tcsh


[[FrontPage]]

 Ctl+a: jump to the top of the line
 Ctl+e: jump to the end of the line
 Esc,f: jump to the next word
 Exc,b: jump to the previous word
 

-foreach command

 When you want to change the extension of the files,
 $>foreach i (*.jpg)
 foreach> mv $i $i:s/.jpg/.JPG/<RET>
 foreach> end<RET>

 When you want to apply a command to multiple files,
 $>foreach i (*.sdt)
 foreach> sdt2spm $i:s/.sdt//<RET>
 foreach> end<RET>