|
|
|
Поскажите можно одновременно пользоваться sed и awk
|
|||
|---|---|---|---|
|
#18+
есть такая программка #!/bin/sh for file in *74* do echo $file cat $file | awk {"'$file'",$0}'|sed "s/'|'/' '/g" >>ats #awk'{"'$file'",$0}'<<ab>>ats done mv ats /RECO/data/input/AB_analyse_reports/2006/ats74.dat после ее выполнения выводит syntax error at 10 line : ' end of file' unexpected 2 вопрос: rfr pfvtybnm | на пробел sed "s/'|'/' '/g" не помогает, файл не изменился ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.11.2006, 12:48:35 |
|
||
|
|

start [/forum/topic.php?fid=25&fpage=199&tid=1488832]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
16ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
16ms |
get tp. blocked users: |
1ms |
| others: | 227ms |
| total: | 295ms |

| 0 / 0 |
