Search Results

Search: Posts Made By: vital_parsley
9,419
Posted By vital_parsley
Thanks guys for all the help.I followed your...
Thanks guys for all the help.I followed your responses and found that my first mistake was the $SEPARATOR variable was out of scope of the block so was not resolving correctly.
Secondly the caret A...
9,419
Posted By vital_parsley
Hi, Thanks for the suggestion I checked with...
Hi,

Thanks for the suggestion I checked with the -x flag and found that the value is not resolved for $SEPARATOR.
Still I am facing issues with the caret A £ symbol from the string.I am trying to...
9,419
Posted By vital_parsley
sed command not working inside ksh script but works fine outside
Hi,

I am a bit confused ,why would a sed command work fine outside of ksh script but not inside.

e.g

I want to replace all the characters which end with a value and have space at end of it....
3,814
Posted By vital_parsley
Hi RudiC, Could you please explain the flags...
Hi RudiC,

Could you please explain the flags you have used ? So i can be sure.
3,814
Posted By vital_parsley
Hi, Ok...to be precise my requirement is to...
Hi,
Ok...to be precise my requirement is to simply remove the || ',' ||from the second last line in a shell script.I want to do that in place.Just want to discard that part completely.
Hope I am...
3,814
Posted By vital_parsley
Cut text from a file and remove
Hello Friends,

I am stuck with the below problem.Any help will be appreciated.
I have a file which has say 100 lines.
On the second last line I have a line from which i want to remove certain...
5,217
Posted By vital_parsley
Hi Thanks for the replies. But i have been...
Hi Thanks for the replies.
But i have been getting the same error.
So in my lookup i have mentioned as
echo /a/b/c/box/$(ls -rt /a/b/c/box|grep -i cef |tail -1)
and to get this above stmt to...
5,217
Posted By vital_parsley
Hi, Thanks for the reply. But the above...
Hi,
Thanks for the reply.

But the above code does not help.
It gives the below error :

ls: cef_*: No such file or directory

Can you please help me out.
5,217
Posted By vital_parsley
Read from file and execute the read command
Hi,

I am facing issues with the below:
I have a lookup file say lookup.lkp.This lookup.lkp file contains strings delimited by comma(,).

Now i want to read this command from file and execute...
2,150
Posted By vital_parsley
isnt there a simpler way to execute the cut...
isnt there a simpler way to execute the cut commands with the way I have asked..
I am trying to get the directory of the file using the cut command.
I am not master with unix commands so looking...
2,150
Posted By vital_parsley
mine is ksh.but what you have suggested wont help...
mine is ksh.but what you have suggested wont help me....how do I parametrize it ?
2,150
Posted By vital_parsley
Cut parameterized command
Hi,

I have a cut command and i want to make it parameterized.

e.g
cut -f1-$some_value -d"/" $file_path
so in above e.g
$some_value could be a number.
$file_path is a path to a file.

But...
2,530
Posted By vital_parsley
Thanks. Will try the above ...just wanted to...
Thanks.
Will try the above ...just wanted to know what does END_SEND stand for here ?
2,530
Posted By vital_parsley
Yes thats correct....just that mre than uploading...
Yes thats correct....just that mre than uploading I would be getting some files from that server.

I tried what rudic suggested and it has helped.
Would like to know now:

Once I have logged...
2,530
Posted By vital_parsley
Ssh in the background
Hi,

I am trying to execute an ssh command in my script.
ssh abcd@server_name
After this command it actually logs in to the server asking for password prompt and then actually logs in to the...
13,320
Posted By vital_parsley
I am getting the below error : -ksh: .[11]:...
I am getting the below error :

-ksh: .[11]: typeset: array: reference variable cannot be an array


---------- Post updated 07-21-13 at 02:09 PM ---------- Previous update was 07-20-13 at 09:19...
13,320
Posted By vital_parsley
Thanks guys,for the replies will reply after...
Thanks guys,for the replies will reply after trying the solutions.
13,320
Posted By vital_parsley
Generic function which takes an array
Hi guys,

I am new to unix shell scritpting.
My situation is L I am writing a generic function that takes array and displays them as they are present in the array with some numbers in the...
Showing results 1 to 18 of 18

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