shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Ajuda Com Shell


From: Luiz Alberto Monteiro
Subject: Re: [shell-script] Ajuda Com Shell
Date: Fri, 19 Oct 2018 09:26:08 -0300

Pesquisa um pouco na internet, tem muito material principalmente do Júlio 
Neves, guru mor. Aqui é grupo pra tirar dúvida e não fazer e resolver o 
problema. AbçEnviado do meu Telefone LG------ Mensagem original------De: 
Vinicius Ruiz address@hidden [shell-script] Data: sex, 19 de out de 2018 
08:41Para: address@hidden;Cc:Assunto:Re: [shell-script] Ajuda Com Shell
 



  


    
      
      
       Bom dia,
Com sed eu trabalharia melhor... Consegue ajudar com os comandos em sed ou awk 
para resolver esta situação ?
Obrigado.
Vinicius
    Em sexta-feira, 19 de outubro de 2018 08:28:42 BRT, 'T.Collons' 
address@hidden [shell-script] > escreveu:  
 
     
 

Você deve usar sed ou awk, o que você sabe usar melhor.
 
 El 19/10/18 a les 12:51, Vinicius Ruiz address@hidden [shell-script] ha escrit:
  
    Pessoal Bom dia Tudo Bem ? 
  Preciso de um help...  
  Tenho um arquivo xpto.txt com o seguinte conteúdo 
   SCHEDULE CPSPAANBU01#ANF_CPSPDDSIQ01 DESCRIPTION "Added by composer.." ON 
RUNCYCLE SEGUNDA_SEXTA_JANEIRO DESCRIPTION "SEGUNDA_SEXTA_JANEIRO" 
"FREQ=MONTHLY;INTERVAL=12;BYDAY=2FR" CARRYFORWARD : 
CPSPAANBU01#AA_BKP_NBU_CPSPDDSIQ01_FS  AT 0600 
  END 
  Precisava fazer algumas coisas:  - Descobrir o nome do arquivo pela string 
AA_BKP_NBU_CPSPDDSIQ01_FS e assim que o arquivo for descoberto alterar 
internamente no conteúdo deste arquivo as seguintes linhas: - Alterar toda essa 
linha  De ON RUNCYCLE SEGUNDA_SEXTA_JANEIRO DESCRIPTION "SEGUNDA_SEXTA_JANEIRO" 
  Para ON RUNCYCLE TODA_PRIMEIRA_QUARTA_JAN VALIDFROM 01/02/2019 
"FREQ=MONTHLY;INTERVAL=12;BYDAY=1WE" 
  E 
  De AT 0600  Para AT 1700 
  Obrigado. 
  Abs. 
  Vinicius 
   
 
 -- 
 

Pere
 
address@hidden
 

------------------------------------
 
AVIS LEGAL
 
 Nota de confidencialitat: Aquest missatge podria contenir missatges d'empresa 
i altre informació confidencial tutelada per les lleis de Europea i altres 
estats, Si Vostè el rep per error o sense ser una de les persones esmenades a 
la capçalera, haurà de destruir-lo sense copiar-lo ni revelar-l'ho o qualsevol 
altre acció relacionada amb el contingut del missatge i notificar-ho per correu 
electrònic a l'emissor del missatge.  
  
Les persones o entitats que incompleixin els deures de confidencialitat podran 
ésser perseguides davant dels Tribunals de Justícia sota l'empar de la 
legislació civil, penal i administrativa nacional i internacional.    
 
Gracies per la seva cooperació.
 
------------------------------------
 
LEGAL NOTICE
 
Confidentiality notice: This mail may include business and other confidential 
information protected under the laws of and other territories. if you are not 
one of the intended recipients of the message, you are legally obliged to 
delete the message content. Furthermore, you are kindly requested to report 
immediately the incident to the sender.  
  
Breach of confidentiality duties is a serious criminal offence in and other 
territories. Offenders shall be legally prosecuted worldwide.   
 
Thank you for your cooperation.
 

#yiv5020935971 #yiv5020935971 -- #yiv5020935971ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5020935971 
#yiv5020935971ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5020935971 
#yiv5020935971ygrp-mkp #yiv5020935971hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv5020935971 #yiv5020935971ygrp-mkp #yiv5020935971ads 
{margin-bottom:10px;}#yiv5020935971 #yiv5020935971ygrp-mkp .yiv5020935971ad 
{padding:0 0;}#yiv5020935971 #yiv5020935971ygrp-mkp .yiv5020935971ad p 
{margin:0;}#yiv5020935971 #yiv5020935971ygrp-mkp .yiv5020935971ad a 
{color:#0000ff;text-decoration:none;}#yiv5020935971 #yiv5020935971ygrp-sponsor 
#yiv5020935971ygrp-lc {font-family:Arial;}#yiv5020935971 
#yiv5020935971ygrp-sponsor #yiv5020935971ygrp-lc #yiv5020935971hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5020935971 
#yiv5020935971ygrp-sponsor #yiv5020935971ygrp-lc .yiv5020935971ad 
{margin-bottom:10px;padding:0 0;}#yiv5020935971 #yiv5020935971actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5020935971 
#yiv5020935971activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5020935971
 #yiv5020935971activity span {font-weight:700;}#yiv5020935971 
#yiv5020935971activity span:first-child 
{text-transform:uppercase;}#yiv5020935971 #yiv5020935971activity span a 
{color:#5085b6;text-decoration:none;}#yiv5020935971 #yiv5020935971activity span 
span {color:#ff7900;}#yiv5020935971 #yiv5020935971activity span 
.yiv5020935971underline {text-decoration:underline;}#yiv5020935971 
.yiv5020935971attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv5020935971 .yiv5020935971attach div a 
{text-decoration:none;}#yiv5020935971 .yiv5020935971attach img 
{border:none;padding-right:5px;}#yiv5020935971 .yiv5020935971attach label 
{display:block;margin-bottom:5px;}#yiv5020935971 .yiv5020935971attach label a 
{text-decoration:none;}#yiv5020935971 blockquote {margin:0 0 0 
4px;}#yiv5020935971 .yiv5020935971bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv5020935971 
.yiv5020935971bold a {text-decoration:none;}#yiv5020935971 dd.yiv5020935971last 
p a {font-family:Verdana;font-weight:700;}#yiv5020935971 dd.yiv5020935971last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5020935971 
dd.yiv5020935971last p span.yiv5020935971yshortcuts 
{margin-right:0;}#yiv5020935971 div.yiv5020935971attach-table div div a 
{text-decoration:none;}#yiv5020935971 div.yiv5020935971attach-table 
{width:400px;}#yiv5020935971 div.yiv5020935971file-title a, #yiv5020935971 
div.yiv5020935971file-title a:active, #yiv5020935971 
div.yiv5020935971file-title a:hover, #yiv5020935971 div.yiv5020935971file-title 
a:visited {text-decoration:none;}#yiv5020935971 div.yiv5020935971photo-title a, 
#yiv5020935971 div.yiv5020935971photo-title a:active, #yiv5020935971 
div.yiv5020935971photo-title a:hover, #yiv5020935971 
div.yiv5020935971photo-title a:visited {text-decoration:none;}#yiv5020935971 
div#yiv5020935971ygrp-mlmsg #yiv5020935971ygrp-msg p a 
span.yiv5020935971yshortcuts 
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5020935971 
.yiv5020935971green {color:#628c2a;}#yiv5020935971 .yiv5020935971MsoNormal 
{margin:0 0 0 0;}#yiv5020935971 o {font-size:0;}#yiv5020935971 
#yiv5020935971photos div {float:left;width:72px;}#yiv5020935971 
#yiv5020935971photos div div {border:1px solid 
#666666;min-height:62px;overflow:hidden;width:62px;}#yiv5020935971 
#yiv5020935971photos div label 
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5020935971
 #yiv5020935971reco-category {font-size:77%;}#yiv5020935971 
#yiv5020935971reco-desc {font-size:77%;}#yiv5020935971 .yiv5020935971replbq 
{margin:4px;}#yiv5020935971 #yiv5020935971ygrp-actbar div a:first-child 
{margin-right:2px;padding-right:5px;}#yiv5020935971 #yiv5020935971ygrp-mlmsg 
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5020935971 
#yiv5020935971ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5020935971 
#yiv5020935971ygrp-mlmsg select, #yiv5020935971 input, #yiv5020935971 textarea 
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv5020935971 
#yiv5020935971ygrp-mlmsg pre, #yiv5020935971 code {font:115% 
monospace;}#yiv5020935971 #yiv5020935971ygrp-mlmsg * 
{line-height:1.22em;}#yiv5020935971 #yiv5020935971ygrp-mlmsg #yiv5020935971logo 
{padding-bottom:10px;}#yiv5020935971 #yiv5020935971ygrp-msg p a 
{font-family:Verdana;}#yiv5020935971 #yiv5020935971ygrp-msg 
p#yiv5020935971attach-count span {color:#1E66AE;font-weight:700;}#yiv5020935971 
#yiv5020935971ygrp-reco #yiv5020935971reco-head 
{color:#ff7900;font-weight:700;}#yiv5020935971 #yiv5020935971ygrp-reco 
{margin-bottom:20px;padding:0px;}#yiv5020935971 #yiv5020935971ygrp-sponsor 
#yiv5020935971ov li a {font-size:130%;text-decoration:none;}#yiv5020935971 
#yiv5020935971ygrp-sponsor #yiv5020935971ov li 
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv5020935971 
#yiv5020935971ygrp-sponsor #yiv5020935971ov ul {margin:0;padding:0 0 0 
8px;}#yiv5020935971 #yiv5020935971ygrp-text 
{font-family:Georgia;}#yiv5020935971 #yiv5020935971ygrp-text p {margin:0 0 1em 
0;}#yiv5020935971 #yiv5020935971ygrp-text tt {font-size:120%;}#yiv5020935971 
#yiv5020935971ygrp-vital ul li:last-child {border-right:none 
!important;}#yiv5020935971   

[As partes desta mensagem que não continham texto foram removidas]



    
     

    
    



reply via email to

[Prev in Thread] Current Thread [Next in Thread]