Search Results

Search: Posts Made By: mierdatuti
1,545
Posted By mierdatuti
Grep -q not works with multiples grep in same line
Hi,
I'm trying to make a grep to see if exists occurrences with a sentence like these:

grep -qi "message" file0 | grep -i $date | grep -vi "exception"
echo $?
1


If I execute without -q...
719
Posted By mierdatuti
The code of the sql sentence says me: ...
The code of the sql sentence says me:


ERROR at line 1:
ORA-00001: unique constraint (TABLE.PROC_PK) violated


If I put a sql like

select * from not_table_existent;


Also gives me...
719
Posted By mierdatuti
Can't get rc of sqlpus script
I have 2 shell scripts. One with data connection like that (script1.sh):

#!/usr/bin/ksh
query="$1"
whenever sqlerror exit 3
connect $user/$pass@sid
${query}
EOF
echo $?
if [...
2,363
Posted By mierdatuti
Asign to variable ksh some values of sql query
Hi,
I'm trying to asign to ksh varible some values of a sql query. The output query would be:

xxxx 1
yyyy 2

I do:


values=`$PATH_UTI/query_sh "
...
2,656
Posted By mierdatuti
Many thanks, I have other code that is: ...
Many thanks,
I have other code that is:

${ARQ}/Q_${UPPP}.SH "
SELECT * FROM MAX_TMP
WHERE ...
.....
.....
"


If I try these code doesn't works. I think that with these awk only get in...
2,656
Posted By mierdatuti
Extract text between two strings
Hi,
I have a text like these:

ECHO "BEGGINING THE SHELL....."
MV FILE1 > FILE2
UNIQ_ID=${1}
PARTITION_1=`${PL}/Q${CON}.KSH "SELECT ....."
PARTITION_2=`${PL}/Q${CON}.KSH "SELECT ........"...
Forum: UNIX and Linux Applications 11-21-2011
2,707
Posted By mierdatuti
Hi again, Many thanks for your help. I would...
Hi again,
Many thanks for your help. I would like to login in these page to can download a file automatically. I'm trying with the option: --keep-session-cookies

It generates me a cookie file.
...
Forum: UNIX and Linux Applications 11-21-2011
2,707
Posted By mierdatuti
Problems with wget and https connection
Hi,



I have wget for linux but I'm having trouble using it. I am trying to use it with a HTTPS connection to save cookies but it doesn't works.
I do:

wget --save-cookies=cookies.txt...
2,287
Posted By mierdatuti
Doesnt works echo $kk | sed...
Doesnt works


echo $kk | sed 's/.*href="\(.*\)">.*/\1/'
<a href=http://www.rtve.es/mediateca/videos/20100916/video-calamares-rellenos-salsa-pimientos-garbanzos-16-09-10/878586.shtml>V�deo:...
2,287
Posted By mierdatuti
Parser with sed
Hi,

I have this variable:


<a href="http://www.rtve.es/mediateca/videos/20100916/video-calamares-rellenos-salsa-pimientos-garbanzos-16-09-10/878586.shtml">V�deo: Calamares rellenos con salsa...
1,821
Posted By mierdatuti
Get a value from menu.
Hi,

I have a shell-script (in bash) wich read from a file this:

1 Telediario 1 2009012609000
2 Mira quien baila 2009012511000
3 No mas 2009012603000
........
1,180
Posted By mierdatuti
Many thanks! It works! and than you for the...
Many thanks! It works! and than you for the explication
1,180
Posted By mierdatuti
problem with sed
Hi,

I have this:

bash-2.03$ echo $kk
<programme start="20090124053000 +0100" channel=\CTele-205.laguiatv.com">

I would like to extract= 20090124053000

But I do:

echo $kk |sed -e...
65,328
Posted By mierdatuti
Sorry. I try today the command but I've saw that...
Sorry. I try today the command but I've saw that this command only puts the first line with wide font, the next lines have normal font :confused:

Any help?

Many thanks
65,328
Posted By mierdatuti
Many thanks, I do with print instead printf. ...
Many thanks, I do with print instead printf.

Thanks a lot! :D
65,328
Posted By mierdatuti
Well I have Kconsole and kubuntu 8.1 I would...
Well I have Kconsole and kubuntu 8.1

I would lika some like this:
echo "Hi" (this in normal size)
echo "I'm David" (this with wide font)

Thanks
65,328
Posted By mierdatuti
change the font size in bash
Hi,
I would like to change the font size in bash. I know how do it in ksh:

F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."

But in bash I don't know
Could you help me please?
Many thanks!
10,014
Posted By mierdatuti
Many thanks ... it works! Thank you very much ...
Many thanks ... it works!
Thank you very much
:b::b::b::b::):):):):):)
10,014
Posted By mierdatuti
Thanks! But it doesn't works me: awk:...
Thanks!
But it doesn't works me:


awk: run time error: not enough arguments passed to printf("%-10s%-50s%-75s%-10s%1PlayBoy Cyber Club - Playmate Xtra HD Clips WEB-DL 720p H264...
10,014
Posted By mierdatuti
[solved]text in columns
Hi, I'm reading from a file some values (in bash) and I would like to display in screen like that:

1 This is an example 324.23MB XVID
2 ...
Forum: Ubuntu 01-09-2009
3,496
Posted By mierdatuti
Many thanks!!
Many thanks!!
Forum: Ubuntu 01-09-2009
3,496
Posted By mierdatuti
help sending mail
Hi,

I have kubuntu 8.10 and I would like to configure Ubuntu to can send mail from command line with mailx.
I've saw that I need to install a MTA. But I don't know with install and how.
Do you...
24,710
Posted By mierdatuti
Nothing! the same strange character I upload...
Nothing! the same strange character I upload the screen ImageShack - Image Hosting :: imagenfr3.jpg (http://img519.imageshack.us/my.php?image=imagenfr3.jpg). The character srange it's next to...
24,710
Posted By mierdatuti
avid@defekas:~$ echo $LANG es_ES.UTF-8 Thanks
avid@defekas:~$ echo $LANG es_ES.UTF-8 Thanks
24,710
Posted By mierdatuti
Sorry doesn't work me In te text, the caracter ª...
Sorry doesn't work me In te text, the caracter ª if I do a vi it show me well, but when I do a sed from this text shows me a extrange caracter in substitusion to ª, it shows me a interrogation mark...
Showing results 1 to 25 of 30

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