Search Results

Search: Posts Made By: felito
1,311
Posted By felito
solved, thank you
solved, thank you
1,311
Posted By felito
and the filename ? doc.txt? i tried: ...
and the filename ? doc.txt?

i tried:

#!/bin/awk -f
/\<FIRST\>|\<SECOND\>|\<THIRD\>|\<ZERO\>/doc.txt

but the result is a sintax error
1,311
Posted By felito
awk search
i guys, i have a bash script , and it works, but i need an awk file, and i can't convert this code like:

#!/bin/awk -f

.....
my script

#!/bin/bash

awk...
1,885
Posted By felito
Doc_="/home/$USER/Documentos/*.doc...
Doc_="/home/$USER/Documentos/*.doc /home/$USER/Documentos/*.odt"yes it work's !! thanks for your patience, now i understand the reason of that occurs

if you permit another simple question, when i...
1,885
Posted By felito
yes, i have an error on the quotes, but even...
yes, i have an error on the quotes, but even correct quotes, the same occurs

Doc_="/home/$USER/Documentos/*.doc *.odt"return: «*.odt»: No such file or directory
1,885
Posted By felito
i try this ...
i try this

Doc_="/home/$USER/Documentos/"*.doc *.odt"

but only first type of documents is devolved, in this case .doc files

«*.odt»: No such file or directory

probably is a restriction...
1,885
Posted By felito
but there is any advantage over this code? ...
but there is any advantage over this code?

Doc_="/home/$USER/Documentos/*.[od][do][tc]" $Doc_
1,986
Posted By felito
your code works perfect, thanks one more time ...
your code works perfect, thanks one more time

sed "/$searchterm/s/.*/$replaceterm/ig;/$searchterm_/s/.*/$replaceterm_/ig" $file > /tmp/teste/tempfile.tmp
1,986
Posted By felito
works, thanks man one more question please,...
works, thanks man

one more question please, and if i want identifie and replace all line where have one $searchterm, for exemple, i have a txt with two lines and the second have the variable...
1,986
Posted By felito
Question grep and sed
hi everybody

i have this script and it work's if i use a single variable in grep, but when i put $searchterm_ the script stops work

i have a problem too in sed, because i don't know how i can...
1,885
Posted By felito
thanks for your time, it's works perfect :)
thanks for your time, it's works perfect

:)
1,885
Posted By felito
extensions- simple question
hi guys

i have this script

Doc_=/home/$USER/Documentos/*.odt || .doc

but in the code above, only .odt files are selected, all .doc none.

What is the error in the code?

thanks
Showing results 1 to 12 of 12

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