Search Results

Search: Posts Made By: mervin2006
3,014
Posted By mervin2006
just a clarification,what if there is no ; at the...
just a clarification,what if there is no ; at the end of the field value say something like this "AAAA" ,will it still return the value

I could test and try it but i dont have access to an unix...
3,014
Posted By mervin2006
Thanks but dont i need to have the flow to come...
Thanks but dont i need to have the flow to come in from a file for the above solutions ?or can i can have it like this ?

output_val=`echo $key_val | sed 's/;/\n/g'`

or any of the solutions you...
3,014
Posted By mervin2006
returning split fields
I have a variable with data in this format


field1;field2;field3

I wanted to split the variable like this

field1
field2
field3

this statement was working fine echo $key_val | awk...
4,952
Posted By mervin2006
thanks
Thanks so much...its working perfectly now..
4,952
Posted By mervin2006
In the main shell script I am calling this timer...
In the main shell script I am calling this timer script ,so when I type 'Y' in response to the read command then the entire script gets terminated not just the timer script



Just a note ..the...
4,952
Posted By mervin2006
killing a child process
I am calling another script from my main script and making it run in the background,based upon the value of the input provided by the user I want to kill the child process ,I have written this code
...
3,231
Posted By mervin2006
Terminating child script without terminating the parent script
Hi
I was working on a shell script with randomly shows a page of text from a randomly selected topic .As soon as the page is displayed it callers a timer script which keeps on running indefinitely...
7,682
Posted By mervin2006
Thanks
Thanks..should have thought on those lines
7,682
Posted By mervin2006
Random number generation in ksh
I need to generate a random number in ksh everytime I run the script ,the range should be from 100 to 24800,I could use $RANDOM but I seem to have no control over the range of numbers ,could you...
1,739
Posted By mervin2006
Thanks for the clarification
Thanks for the clarification
11,808
Posted By mervin2006
FTP script
This might help

ftp -nv $HOST <<EOF1
user $FTP_ID $FTP_USR_PASSWD

lcd $target_dir

cd $source_int_dir
$TRANSFER_METHOD
get $file_name
...
69,334
Posted By mervin2006
what does the \033 mean Thanks Mervin
what does the \033 mean

Thanks

Mervin
1,739
Posted By mervin2006
Thanks Glenn worked perfectly ..exactly what I...
Thanks Glenn worked perfectly ..exactly what I wanted..however I am not very clear about the logic of whats happening...is it replacing all the text starting with .dat with .dat ie...
1,739
Posted By mervin2006
stripping out certain charecters
we are ftping zipped up files from the development server to the production server daily.The files are in this format filename.dat.20061231.12131.gz

I have to unzip the file (i can do that with...
Showing results 1 to 14 of 14

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