Search Results

Search: Posts Made By: coolavi
1,641
Posted By coolavi
Thanks Ken! I haven't tried the solution...
Thanks Ken!

I haven't tried the solution yet. I would like to look into sed's syntax and interpret what you did.

I will let you know if I have any questions.

Thanks,
Coolavi
1,641
Posted By coolavi
Hi Ken, No, I want to replace 1 line...
Hi Ken,
No, I want to replace 1 line with about 5 lines of code. Those 5 lines of code include an if loop.

Please let me know if you need any other information.

Thanks,
coolavi
1,641
Posted By coolavi
Add 5 lines of code to all the scripts in a directory
Hi Guys,
I need some tips on writing a Korn shell script that would look for certain lines of code and replace all the scripts in the directory with a few other lines. I have about 120...
24,813
Posted By coolavi
Yes, I am making use of the new concept I have...
Yes, I am making use of the new concept I have learnt from you.

Thanks again Sanjay!
24,813
Posted By coolavi
Hey, Thanks Sanjay. Dude! you were quick to...
Hey, Thanks Sanjay.

Dude! you were quick to pounce on this.

It seems to be working but please explain me one thing. When we use the :e file_name option in vim, does it not affect the original...
24,813
Posted By coolavi
Copy selected lines in vim
Hi,

I am looking to copy selected lines from a file using the vim editor. I have looked up a few resources and they have suggested to use this-
Type mk
Type: "ay'k (double quotes, <register...
9,883
Posted By coolavi
Thanks for the info Yogesh. I will look into it....
Thanks for the info Yogesh. I will look into it. Also, I like your caption "Part Time Moderator and Full Time Dad". :)

Regards,
Coolavi
9,883
Posted By coolavi
My bad! Yogesh, it works like a charm. I...
My bad!

Yogesh, it works like a charm. I mis-interpreted the alphabet 'l' (lower case L as in long) as 1.
nj78, thanks for pointing out the mistake.


Also, can one of you guys interpret...
2,813
Posted By coolavi
:%s/\/bin\/echo/echo/g You could also use...
:%s/\/bin\/echo/echo/g

You could also use this. (I escaped the / with \ for /bin/echo)
9,883
Posted By coolavi
Thanks for your response cjcox and Yogesh. ...
Thanks for your response cjcox and Yogesh.

Yogesh, I tried using code /\%>1549l\%<1857lstring in vi command mode and I am getting the following error:

E71: Invalid character after \%

...
9,883
Posted By coolavi
Search for string between specific lines of code in vi
Hi,
I am on an AIX Unix box and I am trying to search for a string in between specified lines of code when I vi a file. I can use the '/string' to search for the string through out the file, but can...
12,954
Posted By coolavi
Hi Lu, That worked! :). I needed to invoke...
Hi Lu,
That worked! :). I needed to invoke the sas before the running the prog using SSH. I did not look into that before because I was able to run the sas job on the command line on the remote...
12,954
Posted By coolavi
Yes! This is an executable sas. I tried to...
Yes! This is an executable sas.

I tried to run the avi.sas from the remote server and it did run. The permissions are the same too. It just does not like the key word 'sas'. Once it reaches that...
12,954
Posted By coolavi
Ability to run sas prog on remote server using SSH
Hi,
I am trying to run a sas prog on a remote server using ssh.

I have got the command that I am using in the below paragraph. With it, I was able to run shell scripts but when I tried 'sas'...
Showing results 1 to 14 of 14

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