Search Results

Search: Posts Made By: surfbus78
3,808
Posted By surfbus78
hi there, the problem i have is that i...
hi there,

the problem i have is that i can't always guarantee that the string in the original file is the same which is why i chose to replace the whole line if the line starts with CLASSPATH....
3,808
Posted By surfbus78
escaping backslashes to evaluate paths
Hi there,

i am struggling with this one, basically i want to replace an existing path string in a file with a new one, but the new one contains slashes which causes problems with "sed", i thought...
7,801
Posted By surfbus78
just realised why it didn't work, i was supplying...
just realised why it didn't work, i was supplying the path without a preceeding / , e.g

var="Packages/Software/weblogic/9.2mp2/SunOS"

rather than
...
7,801
Posted By surfbus78
actually it does sort of work but then goes into...
actually it does sort of work but then goes into a loop, e.g:

$ ./test.ksh
before: Packages/Software/weblogic/9.2mp2/SunOS
after : Packages/Software/weblogic/9.2mp2
before:...
7,801
Posted By surfbus78
hmm, i'll give it another try then. ...
hmm, i'll give it another try then.

potentially it might be a problem with my ksh, which i forgot to mention is the solaris implementation, which i have experienced issues with previously when...
7,801
Posted By surfbus78
hi there, thanks for the fantastic...
hi there,

thanks for the fantastic responsese. I've tried a few of the suggestions but what i need to avoid is the need to have to actually be in the directory structure.
Basically i want to...
7,801
Posted By surfbus78
ksh - walking back up a directory PATH
Hi there,

I am putting a script together to apply a label to a directory structure but it can't be done down the directory structure, i must start at the end and work back and this is what i am...
Showing results 1 to 7 of 7

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