Unix Programming - Trying to interface with Clearcase

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2004 > Trying to interface with Clearcase





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Trying to interface with Clearcase
Billy N. Patton

2004-03-23, 3:49 pm

Here's my shell script.

I want to do multiple functions across multiple lines

#!/bin/csh

/usr/atria/bin/cleartool setview -exec <<XX;
cat /vobs/GS40/cells/idg04/doc
cat /vobs/GS40/cells/idg04/auditreport.wavier
XX
cdmg_toolbox

printf "\n\nexit\n\n";
exit 1;

--------------------------------------

if i did:
cleartool setview -exec "cat /vobs/GS40/cells/idg04/doc" cdmg_toolbox

it will work ok

How can I tell the XX to terminate and have the cdmg_toolbox on the same
line?

I've tried
XX cdmg_toolbox -> but it complains about not finding the terminator.
XX \
cdmg_toolbox -> same thing
XX; cdmg_toolbox -> same thing

I've tried
cleartool setview cdmg_toolbox -exec <<XX

Still doesn't work.

How can I enclose multiple lines that wyou normall be within the
<<XX
....
XX

Documentation says I have to put the view at the end. I
--
___ _ ____ ___ __ __
/ _ )(_) / /_ __ / _ \___ _/ /_/ /____ ___
/ _ / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/ \_,_/\__/\__/\___/_//_/
/___/
Texas Instruments ASIC Circuit Design Methodlogy Group
Dallas, Texas, 214-480-4455, b-patton@ti.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com