History of tcsh (No. 1)
- History
- View the diff.
- View the diff current.
- View the source.
- Go to tcsh.
- 1 (2009-01-27 (Tue) 20:47:47)
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>