Search Results

Search: Posts Made By: viko
24,161
Posted By viko
Many thanks era. I get that. regards ...
Many thanks era.

I get that.

regards


VIKKKKO
24,161
Posted By viko
Ok. era, i've tried debugging and I've progressed...
Ok. era, i've tried debugging and I've progressed a little.

I've excecuted it on this way:

nohup /~/any.sh 0<&-

so, the output (both STOUT & STERR) were redirected to ./nohup.out


i've...
24,161
Posted By viko
Daemonizing a bash script
I've no idea how people usually do that. I've check at O'Reilly's bash cookbook, and it talks a little about daemonizing the script.

it refers to : 1-Running it in bg with &
2-Redirecting...
21,642
Posted By viko
Thanks that's very usefull for me ...
Thanks

that's very usefull for me

regards
VIKKKO
21,642
Posted By viko
well. i made it, and just to help anyone eho...
well.

i made it, and just to help anyone eho needs something like this:

i have made something like:

dirty_var='
something'

var="$(echo $dirty_var | grep some_char_u_know_exists_in_var)"...
21,642
Posted By viko
i get string from a sql query, so it's in a...
i get string from a sql query, so it's in a variable: $string

i can't see carriage return any time in variable, because echo $string does no print these. and i'm not sure i'm talking about a CR.
...
21,642
Posted By viko
deleting 'carriage return' from string
hi there

I'm getting a string from a sqlplus query, and I need to compare it with another string

Problem here, is that the string i get from query brings a 'carriage return' with it, and...
2,653
Posted By viko
thanks joeyg that's great I was trying not...
thanks joeyg
that's great

I was trying not to use an external file, but i think this way will work great for me, at least for a while
2,653
Posted By viko
variables in shell
hi, i'm new in shell scripting and i'm working on bash on solaris 5.9

after try many stuff with unexpected results, i wonder:
it is not posible in bash, to use a variable that was created inside...
2,478
Posted By viko
thanks sb008, it really works! thanks a lot ...
thanks sb008, it really works!
thanks a lot


but i can't catch what really means | \

can you explain me briefly?
:)
8,961
Posted By viko
thanks agn, that was helpful for me, but i don't...
thanks agn, that was helpful for me, but i don't know how to use the array back in shell


i know
a=`awk -v string="$str" 'BEGIN { split(string,a); for(i in a) print "=> " a[i]; }'`

but...
2,478
Posted By viko
looking for files and modify if size matches
hi there.

I'm at SunOS 5.9

At my new job i'm using UNIX, and it's my first time.

i'm trying to make a script for:

-find files with a name passed to it as parameter
-compare results with...
8,961
Posted By viko
how to use split
hi there! (i'm at SunOS 5.9)

i'm trying to split a string with *split*, but i can't.

for example:

in shell i do:

$ string='hi go bye'
$ then i try: awk 'split($string, strings, "...
Showing results 1 to 13 of 13

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