Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/shell/csh_hist5.html
Дата изменения: Fri Jan 17 12:43:21 1997 Дата индексирования: Tue Oct 2 00:48:52 2012 Кодировка: Поисковые слова: метонов цикл |
You can edit any previous command from the history list to create a new command. Suppose that command number 23 in the history list is:
23 lpr part[1-4].ps
To change [1-4] to [5-8] use the command:
!23:s/[1-4]/[5-8]/
This will now run the command:
lpr part[5-8].ps