Search Results

Search: Posts Made By: single
3,227
Posted By single
Hi Franklin52
Like this is working:



find . -type f -name “*.txt” -exec sed -i 's/Ontem/AntesdeOntem/g' {} \;



Don't ask me way but it is...

:D

Thanks to all, more "Thanks unix.com Forum" ;)
3,227
Posted By single
hi KenJackson thanks for your help...
yeap that's it, inside of .txt have "Ontem" and I want to change it to "AntesdeOntem" i try your's like this in just one file:

Aproximar.txt (this file is for testing have the sentence "Ontem fui...
3,227
Posted By single
This script cut size of files "Lol" change string in files
Basic:


find . -type f -name “*.txt” -print | awk '{gsub("Ontem", "AntesdeOntem", $0); print > FILENAME}' *.txt


The idea is in folder /home/myapontamentos

I have some files and i need to...
Forum: Linux 03-13-2008
4,605
Posted By single
Hi
this site is dead..

:(

Can anyone have this Program and can upload it?

Tk's, CU

:D
2,737
Posted By single
Copy data and send it to other file, with diff config
I need a new script to 'grep' data from files in var
and send it to another file in var folder with diff output,
but like you now my Now How is very, very small then to have a idea is something...
3,897
Posted By single
You don't exist, heheh Tx. real nice script,...
You don't exist, heheh Tx. real nice script, seams so simple like you type... :D

Must test it, then i tould you result's...
About unix question, STB used this "MIX" to work:

+ CVS 25.08.2007...
3,897
Posted By single
How to use shell script's to get EPG Program with SED
This is my test script version:


#!/bin/sh
wget -q -O /tmp/axn 'http://www.axn.pt/programacion/'
sed -e '/^$/ d' /tmp/axn > /tmp/temp #Clean black space

sed -e 's/<[^>]*>//g' /tmp/temp >...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy