Search Results

Search: Posts Made By: esmith92000
2,170
Posted By esmith92000
Bourne script problem
You get the prize. That appears to have been the problem. ONE non-quoted variable was all it took to change a double space to a single space. Thank you very much.

By the way, anyone know why...
2,170
Posted By esmith92000
Here's the script problem boiled down to two lines
Let's get it down to two lines

PATH3=`/bin/pwd` > /dev/null
PATH4=`echo $PATH3 | /bin/sed -e 's/\/A/\/B/'`

And the trace output is

++ /bin/pwd
+...
2,170
Posted By esmith92000
Bournce script problem
That is a great pick up about the extra space. I wish I knew where it came from. The three lines below

echo `/bin/pwd`
HOLDPATH=`/bin/pwd`
...
180,228
Posted By esmith92000
You've got to provide some output for the...
You've got to provide some output for the diagnosis.
Do a ps with whatever options you need in your flavor of unix to get the process name and ID as output, and pipe that into a grep for the script...
2,170
Posted By esmith92000
bourne script problem
I've got an NTFS file system mounted on my Linux box, which means I can have multi-word directory names. I want to recurse through the directory structure copying stuff from /A to /B when it does...
180,228
Posted By esmith92000
ps to get the process number, and then do a kill
ps to get the process number, and then do a kill
Showing results 1 to 6 of 6

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