[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quebra de linha
From: |
mdantasjr |
Subject: |
Re: quebra de linha |
Date: |
Fri, 14 Nov 2003 11:04:05 -0000 |
User-agent: |
eGroups-EW/0.82 |
#!/bin/sed -nf
:a
h
$!n
/^\./{H;g;s/\n/ /;ta;}
/^\./!{x;p;x;}
$!ba
H;g;/^\([^\n]*\)\n\1/!{s/.*\n//;p;}
$ echo -e "11\n.22\n33" | ./script.sed 11 .22 33
$ echo -e "11\n.22\n.33" | ./script.sed 11 .22 .33
deixa eu mostrar a execucao do script.
Legend4[MFBSA-CLUSTER1 .7]:
LegendI[MFBSA-CLUSTER1 .7]: HitRate:
LegendO[MFBSA-CLUSTER1 .7]:
PageTop[MFBSA-CLUSTER1 .7]: <H1>Cache Hit Rate for MFBSA-CLUSTER1
</H1>
<p> These graphs track the long term cache hit rate for the server
disk
cache.
sh: line 1: cho: command not found
sh: line 1: ./script.sed: Arquivo ou diretório não encontrado
sh: line 1: cho: command not found
sh: line 1: ./script.sed: Arquivo ou diretório não encontrado