Help cannot concatenate Ksh variables ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help cannot concatenate Ksh variables ?
# 15  
Old 02-20-2012
Sorry for stepping on you methyl. That was your discovery. I'll back off...
This User Gave Thanks to bsrepellant For This Post:
# 16  
Old 02-20-2012
@bsrepellant
No problem at all with all of us working on this. If we ever manage to see a clean sample of the input data format we can run a test.
If the sample output posted is real (i.e. unexpanded variables), then there is something mega wrong with this shell.
This User Gave Thanks to methyl For This Post:
# 17  
Old 02-20-2012
Quote:
Originally Posted by bsrepellant
The character left of the 1 key.
Example:
OldRepo=`grep Oldhostname ${i}/.svn/entries | tail -1`
Previously when using the backtick it did not work at all.

Now with backticks only on the OldRepo line it is working

I changed this also
Code:
svnCommand="svn relocate"
set svnCommand

Code:
echo -e "${svnCommand}  ${OldRepo} ${NewRepo}"\c"

# 18  
Old 02-20-2012
Quote:
Previously when using the backtick it did not work at all.

Now with backticks only on the OldRepo line it is working
Hmm the original script was a non-runner. Without the backticks the commands never executed. Please post the current version of the script (preferably intact), the sample input requested several times, the actual output of the script, and what you expect the actual output to look like.

The two sed statements at the end of the NewRepo= line look unlikely because they just delete strings which are not present in your data sample.
The delimiter for "sed" does not have to be a solidus. When editing data containing a solidus it is better to choose a different delimiter.
# 19  
Old 02-22-2012
ksh script output not as expected a continuation of "Help cannot concatenate variables" .

The issue seems to be the Input source file contains PATH with spaces in some of the directory names. Added snip from input file, console output and output file.

Output format expected

cd /PATH.....
svn relocate Oldrepo NewRepo

repeated for each path from Input file

Code:
#!/bin/ksh
#
# Read the list of Subversion working copies to Relocate to new Subversion Server
OutputLoc="/scripts/dataout"
bldDirLoc="/webdata/tmpDNAbld/"
wcfiles=${OutputLoc}/dnaRelwc1.dat  
svnRelcmd="svn relocate"
set svnRelcmd

cd ${bldDirLoc}

for i in `cat ${wcfiles}`
do
    OldRepo=`grep svn01g.gdc ${i}/.svn/entries | tail -1 | tr -d '\n'`
    NewRepo=`grep svn01g.gdc ${i}/.svn/entries | tail -1 | sed '/svn01g.gdc/ s/svn01g.gdc/svnprod/g' | sed 's/\/svn01p//g' | sed 's/\/Repositories//g'`
    echo "cd" $i
    echo -e "${svnRelcmd}  ${OldRepo}  ${NewRepo}\c"
done

Input Source snip ... from dnaRelwc1.dat
Code:
AgentWebPages/AgentWebPages/Source
AgentWebPages/AgentWebPages/Source/BinaryCompatibleComponent
AgentWebPages/AgentWebPages/Source/Distrib
AgentWebPages/AgentWebPages/Source/Distrib/Release
AgncyInfoInProc/SalesApplication/Source
AgncyInfoInProc/SalesApplication/Source/bc
AgncyInfoInProc/SalesApplication/Source/Distrib
AgncyInfoInProc/SalesApplication/Source/Distrib/Release
ALPS_ATTACHMENT/Utility EXE Attachment
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/bin
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/My Project
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/obj
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/obj/Debug
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/obj/Debug/TempPE
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/obj/Release
ALPS_ATTACHMENT/Utility EXE Attachment/DotNET/obj/Release/TempPE
ALPS_ATTACHMENT/Utility EXE Attachment/Release
ALPS_ATTACHMENT/Utility EXE Attachment/VB6
ALPS_ATTACHMENT/Utility EXE Attachment/VB6/Release
ALPS_ATTACHMENT/VB6
ALPS_ATTACHMENT/VB6/Release
ALPS_CACHE/Athena COM Trackers
ALPS_CACHE/COM Cache
ALPS_CACHE/COM Cache/Release
ALPS_CACHE/MSI
ALPS_COM/Athena COM Trackers
ALPS_COM/COM Attachment
ALPS_COM/COM Business Layer
ALPS_COM/COM Data Layer
ALPS_COM/COM Data Layer/Release
ALPS_COM/COM Utilities
ALPS_COM/MSI
ALPS_COMMUNICATIONS/Utility EXE Communication
ALPS_COMMUNICATIONS/Utility EXE Communication/DotNET
ALPS_COMMUNICATIONS/Utility EXE Communication/DotNET/bin
ALPS_COMMUNICATIONS/Utility EXE Communication/DotNET/My Project
ALPS_COMMUNICATIONS/Utility EXE Communication/DotNET/obj
...snip

Console output snip... via script utility
Code:
$ ./createRelocwcMstr.sh > dataout/relocMstr.dat
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/.svn/entries: No such file or directory
grep: Attachment/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/.svn/entries: No such file or directory
grep: Attachment/DotNET/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/bin/.svn/entries: No such file or directory
grep: Attachment/DotNET/bin/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/My/.svn/entries: No such file or directory
grep: Attachment/DotNET/My/.svn/entries: No such file or directory
grep: Project/.svn/entries: No such file or directory
grep: Project/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Debug/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Debug/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Debug/TempPE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Debug/TempPE/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Release/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Release/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Release/TempPE/.svn/entries: No such file or directory
grep: Attachment/DotNET/obj/Release/TempPE/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/Release/.svn/entries: No such file or directory
grep: Attachment/Release/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/VB6/.svn/entries: No such file or directory
grep: Attachment/VB6/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: ALPS_ATTACHMENT/Utility/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: EXE/.svn/entries: No such file or directory
grep: Attachment/VB6/Release/.svn/entries: No such file or directory
grep: Attachment/VB6/Release/.svn/entries: No such file or directory
grep: ALPS_CACHE/Athena/.svn/entries: No such file or directory
grep: ALPS_CACHE/Athena/.svn/entries: No such file or directory
grep: COM/.svn/entries: No such file or directory
grep: COM/.svn/entries: No such file or directory
grep: Trackers/.svn/entries: No such file or directory
grep: Trackers/.svn/entries: No such file or directory
grep: ALPS_CACHE/COM/.svn/entries: No such file or directory
grep: ALPS_CACHE/COM/.svn/entries: No such file or directory
grep: Cache/.svn/entries: No such file or directory
grep: Cache/.svn/entries: No such file or directory
grep: ALPS_CACHE/COM/.svn/entries: No such file or directory
grep: ALPS_CACHE/COM/.svn/entries: No such file or directory
grep: Cache/Release/.svn/entries: No such file or directory
grep: Cache/Release/.svn/entries: No such file or directory
grep: ALPS_COM/Athena/.svn/entries: No such file or directory
grep: ALPS_COM/Athena/.svn/entries: No such file or directory
grep: COM/.svn/entries: No such file or directory
grep: COM/.svn/entries: No such file or directory
grep: Trackers/.svn/entries: No such file or directory
grep: Trackers/.svn/entries: No such file or directory
grep: ALPS_COM/COM/.svn/entries: No such file or directory
grep: ALPS_COM/COM/.svn/entries: No such file or directory
grep: Attachment/.svn/entries: No such file or directory
grep: Attachment/.svn/entries: No such file or directory
grep: ALPS_COM/COM/.svn/entries: No such file or directory
grep: ALPS_COM/COM/.svn/entries: No such file or directory
grep: Business/.svn/entries: No such file or directory
grep: Business/.svn/entries: No such file or directory
grep: Layer/.svn/entries: No such file or directory
grep: Layer/.svn/entries: No such file or directory
grep: ALPS_COM/COM/.svn/entries: No such file or directory
grep: ALPS_COM/COM/.svn/entries: No such file or directory
grep: Data/.svn/entries: No such file or directory

Output File #1 snip ...
Code:
cd AgentWebPages/AgentWebPages/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentWebPages/AgentWebPages/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source/bc
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/bin
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/My
svn relocate  cd Project
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE

# 20  
Old 02-22-2012
Try this:
Code:
    OldRepo=`grep svn01g.gdc ${i}/.svn/entries 2>/dev/null | tail -1 | tr -d '\n'`
    NewRepo=`grep svn01g.gdc ${i}/.svn/entries 2>/dev/null| tail -1 | sed '/svn01g.gdc/ s/svn01g.gdc/svnprod/g' | sed 's/\/svn01p//g' | sed 's/\/Repositories//g'`

# 21  
Old 02-22-2012
no console output, but output file still has issues
Code:
https://svnprod.nwie.net/svn/SWAT
cd ABIIntranet/ABA/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd ABIIntranet/ABA/Source/BC
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd ABIIntranet/ABA/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd ABIIntranet/ABA/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/AutoQB2
cd AcqFlyWtsInProc/AcquisitionsFlyWeights/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/AutoQB2 https://svnprod.nwie.net/svn/AutoQB2
cd AcqFlyWtsInProc/AcquisitionsFlyWeights/Source/BinaryCompatibleDLL
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/AutoQB2 https://svnprod.nwie.net/svn/AutoQB2
cd AcqFlyWtsInProc/AcquisitionsFlyWeights/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/AutoQB2 https://svnprod.nwie.net/svn/AutoQB2
cd AcqFlyWtsInProc/AcquisitionsFlyWeights/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/AutoQB2 https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ACBAERAE/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ACBAERAE/Source/BC
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ACBAERAE/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ACBAERAE/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AgencyReporting/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AgencyReporting/Source/bc
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AgencyReporting/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AgencyReporting/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ARAFS/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ARAFS/Source/BC
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ARAFS/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/ARAFS/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AREarnings/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AREarnings/Source/BC
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AREarnings/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/AREarnings/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CES/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CES/Source/bc
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CES/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CES/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CompositeReports/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CompositeReports/Source/BC
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CompositeReports/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/CompositeReports/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/SalesPlanning/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/SalesPlanning/Source/bc
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/SalesPlanning/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgencyReporting/SalesPlanning/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/AETCOM/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/AETCOM/Source/BinaryCompatibleComponent
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/AETCOM/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/AETCOM/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/WebPartFlag/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/WebPartFlag/Source/Debug
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/WebPartFlag/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/WebPartFlag/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/WebPartFlag/Source/Docs
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentEditTool/WebPartFlag/Source/TopazScripts
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/NIcom2
cd AgentLocatorEIQ/NWAgentLocator/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/NIcom2 https://svnprod.nwie.net/svn/NIcom2
cd AgentLocatorEIQ/NWAgentLocator/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/NIcom2 https://svnprod.nwie.net/svn/NIcom2
cd AgentLocatorEIQ/NWAgentLocator/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/NIcom2 https://svnprod.nwie.net/svn/NIcom2
cd AgentLocatorEIQ/NWAgentLocator/Source/msi
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/NIcom2 https://svnprod.nwie.net/svn/ePDS2
cd AgentWebPages/AgentWebPages/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentWebPages/AgentWebPages/Source/BinaryCompatibleComponent
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentWebPages/AgentWebPages/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/ePDS2
cd AgentWebPages/AgentWebPages/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ePDS2 https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source/bc
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source/Distrib
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT https://svnprod.nwie.net/svn/SWAT
cd AgncyInfoInProc/SalesApplication/Source/Distrib/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/SWAT cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/bin
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/My
svn relocate  cd Project
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/obj
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/obj/Debug
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/obj/Debug/TempPE
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/obj/Release
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/DotNET/obj/Release/TempPE
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/Release
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/VB6
svn relocate  cd ALPS_ATTACHMENT/Utility
svn relocate  cd EXE
svn relocate  cd Attachment/VB6/Release
svn relocate  https://svnprod.nwie.net/svn/ALPS
cd ALPS_ATTACHMENT/VB6
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ALPS https://svnprod.nwie.net/svn/ALPS
cd ALPS_ATTACHMENT/VB6/Release
svn relocate https://svn01g.gdc.nwie.net/svn01p/svn/Repositories/ALPS cd ALPS_CACHE/Athena
svn relocate  cd COM
svn relocate  cd Trackers
svn relocate  cd ALPS_CACHE/COM
snip ...

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Concatenate two variables and form the third variable

Hi Guys, I was scratching my head for this for half a day... finally not successful :confused: Following is the problem I have a variable $ var1=123 $ var2-234 $ var3=345 and another Variable $ i=1 Now i wanted to save these into a Variable as shown below for i in 1 2 3 do... (5 Replies)
Discussion started by: ramprabhum
5 Replies

2. UNIX for Dummies Questions & Answers

Formating variables in KSH

Hi Friends , I want to know how to format the output for the following: i searched in the forum and couldnt get the exact requirement. Thanks in advance . (2 Replies)
Discussion started by: i150371485
2 Replies

3. Shell Programming and Scripting

concatenate variables

I need to know how to concatenate variables in Debian. I am making a interactive script where it ask the user for info to add a user I pull the first letter from the first middle and last name into individual variables now i want to put them all in one variable so i can put it into useradd command ... (4 Replies)
Discussion started by: HackerSeabass
4 Replies

4. Shell Programming and Scripting

ksh - for loop with variables

Hi, I 'm trying to send an e-mail for every different line in the .txt for i in {1..$variable} do sed -n "/$i$/p" text.txt done I have two problems about this. First one is that for loop doesn't work and the second one is that i cant get the output of sed (4 Replies)
Discussion started by: ozum
4 Replies

5. Shell Programming and Scripting

concatenate variables problem

Hello, I have a tricky problem: I have a $file with a variable number of occurrences of "ORA-" (in this case two) .......... EXP-00008: ORACLE error 3113 encountered ORA-03113: end-of-file on communication channel EXP-00056: ORACLE error 1403 encountered ORA-01403: no data found... (9 Replies)
Discussion started by: Laurentiu
9 Replies

6. Shell Programming and Scripting

Combining two variables in ksh

I can't believe I can't figure this out... given this code: CARS_DATA_LIST=`cat /tmp/file1 | awk '{print $1}' ` FMSA_DATA_LIST=`cat /tmp/file2 | awk '{print $1}' ` The value of each of the above variables is: CARS = a b c d e f g FMSA = a b c q r s I want to declare a third... (8 Replies)
Discussion started by: Shoeless_Mike
8 Replies

7. Shell Programming and Scripting

How to preserve NL in Ksh variables?

I'm trying to set a variable to the output of a command. This is what the comand output to the display looks like: />hciconndump -v TOsiu Dump of connection(s): TOsiu ---------------------------------------------------------------------- Process: A60Tsiu Connection: TOsiu... (2 Replies)
Discussion started by: troym72
2 Replies

8. Shell Programming and Scripting

how to concatenate values of two variables with an underscore(_) in between

Hi, I'm new to shell programming. I have two variables a and b a=val1 b=val2 could anyone kindly post the shell script to concatenate the values of variable a and b with an underscore(_) in between? The final output should be val1_val2. (8 Replies)
Discussion started by: badrimohanty
8 Replies

9. Shell Programming and Scripting

subtracting variables in ksh

hi all, how do i subract variables in shell ?? am trying to space out the headers and the output generated by the shell so they all line up : currently the output is like this : servers : users server1 : 10 latestServer : 50 so i thought... (3 Replies)
Discussion started by: cesarNZ
3 Replies

10. Shell Programming and Scripting

variables in ksh

I'm new to unix scripting. How would I go about pulling the first 3 characters from a variable in ksh and storing in another variable? Thanks. (9 Replies)
Discussion started by: steve6368
9 Replies
Login or Register to Ask a Question