Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Shell Script: Mudar linha dentro de arq texto
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexandre Marques  
View profile   Translate to Translated (View Original)
 More options Jan 31 2012, 3:03 pm
From: Alexandre Marques <marqu...@lavabit.com>
Date: Tue, 31 Jan 2012 18:03:19 -0200
Local: Tues, Jan 31 2012 3:03 pm
Subject: Shell Script: Mudar linha dentro de arq texto

Pessoal!

Estou fazendo progresso significativo criando alguns SlackBuilds...
Já estou estudando shell script a um bom tempo mas ainda tenho
minhas limitações...

Eu gostaria de saber se existe uma forma (comando) de mudar uma linha dentro
de um arquivo de texto antes de criar o pacote?

Um comando para localizar e substituir uma palavra (ou sentença) por outra
dentro de um arquivo qualquer (ex: Readme.txt).

Por exemplo:

   Substituir o conteúdo da 5ª linha (um_nome_qualquer) do arquivo
   Readme.txt por (Um Nome Qualquer)

È possível?
--
Alexandre Marques
Linux User #460590


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Otavio Augusto  
View profile   Translate to Translated (View Original)
 More options Jan 31 2012, 3:17 pm
From: Otavio Augusto <otavi...@gmail.com>
Date: Tue, 31 Jan 2012 18:17:15 -0200
Local: Tues, Jan 31 2012 3:17 pm
Subject: Re: [slack-users] Shell Script: Mudar linha dentro de arq texto
find + grep localiza o arquivo
e sed para alterar

Em 31 de janeiro de 2012 18:03, Alexandre Marques
<marqu...@lavabit.com> escreveu:

--
Otavio Augusto
---------------------
Consultor de TI
Citius Tecnologia
31 37761866
31 88651242
http://www.citiustecnologia.com.br

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Marques  
View profile   Translate to Translated (View Original)
 More options Jan 31 2012, 5:03 pm
From: Alexandre Marques <marqu...@lavabit.com>
Date: Tue, 31 Jan 2012 20:03:43 -0200
Local: Tues, Jan 31 2012 5:03 pm
Subject: Re: [slack-users] Shell Script: Mudar linha dentro de arq texto

    Obrigado!

--
Alexandre Marques
Linux User #460590

On Tue, 31 Jan 2012 18:17:15 -0200


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »