Sponsored Content
Full Discussion: Clearcase Query
Top Forums UNIX for Dummies Questions & Answers Clearcase Query Post 302401240 by spikey on Friday 5th of March 2010 08:58:43 AM
Old 03-05-2010
Clearcase Query

Hi,
Can you please help?
I am trying to use variables within a clearcase command, however i am having a major problems - the variables don't appear to be accessible. Using the following as an example:

Code:
cat=1 2 3
dog=4 5 6

cleartool mkattr -replace Four_Legs '"$cat $dog"' lbtype:Animal

The problem is I am explicity getting $cat and $dog as my result, rather than the vairables i have them set too (1 2 3, 4 5 6).

Has any one any idea how i can resolve this problem??
Please.

regards,
spike
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

ssh + clearcase hangs

Hi, prefix: cleartool is an clearcase command. clearcase is a control version tool I have setup a passwordless ssh connection between Unix machines A and B. I am executing a ssh command from Unix box 'A' to Unix box 'B' as follows. ssh username@B 'ls /home/username' This works perfectly... (2 Replies)
Discussion started by: sunilav
2 Replies

2. Linux

RPM with ClearCase

Hello. I have a task to complete and it involves using RPM with ClearCase. I have looked through as much documentation as possible about RPM and I still have questions about it. My task is to create a .rpm using ClearCase by unzipping a 22 Mb file and placing it into a set directory structure. I... (2 Replies)
Discussion started by: mastachef
2 Replies

3. Shell Programming and Scripting

Connect to Clearcase through Unix

Hi, How can I connect to clearcase view through Unix. I have this view r232_view in Clearcase. I tried this from my home directory >cleartool setview r232_view >cleartool: Error: View tag not found: "r232_view". Am I missing something? Thanks, (5 Replies)
Discussion started by: northwest
5 Replies

4. Solaris

Clearcase compatibility with Solaris 10

Hi, Is Clearcase version 2002.05.00 is supported and compatible with Solaris10? Cheers, Ankur (1 Reply)
Discussion started by: sharmaankur85
1 Replies

5. UNIX for Dummies Questions & Answers

Korn Shell Script / Clearcase Query

Hi, I wonder can you help me ... I have the following clearcase code that works on the command line: ct mkattr -replace Four_Legs '"cat dog"' lbtype:Animal however when i try to use it in my script it fails with the following error message: + ct mkattr -replace Four_Legs "cat dog"... (5 Replies)
Discussion started by: thegant
5 Replies

6. Shell Programming and Scripting

Anyone here use Clearcase command from shell?

I am coding a korn shell script to automate certain things. Creating a baseline is one of them where I got stuck. I google'd and found the available options of using mkbl command. Inside my script this is what I am doing: cleartool mkbl -all <myBaselineNumber in XXX.XXX.XXX.XXX format> ... (1 Reply)
Discussion started by: dahlia84
1 Replies

7. Shell Programming and Scripting

shell script for clearcase ucm

how to write shell script to get the checkin information between two composite baselines in clearcase ucm . (0 Replies)
Discussion started by: saku
0 Replies

8. Shell Programming and Scripting

clearcase shell script

I am running all clearcase commands in shell script and every command is redirecting output to file data.txt cleartool diffbl -act -ver label1 label2 >& data.txt cleartool diffbl -baselines label1 label2 >& data.txt cleartool diffbl -elements label1 label2 >& data.txt Issues was all commands... (6 Replies)
Discussion started by: saku
6 Replies

9. UNIX for Dummies Questions & Answers

clearcase,

Hi, I have two unix server. In one server clearcase is installed. I want to take files from one server to clearcase server. Could anyone help to start up this, for how to connect clearcase server from my main server. ?? Currently am having IP address of that clearcase server. Thanks in... (0 Replies)
Discussion started by: ckchelladurai
0 Replies
ONEKO(6)							   Games Manual 							  ONEKO(6)

NAME oneko - Creates a cute cat chasing around your mouse cursor.
SYNOPSIS
oneko [-help] [-tora] [-dog] [-sakura] [-tomoyo] [-time n] [-speed n] [-idle n] [-name name] [-towindow] [-toname name] [-tofocus] [-posi- tion geometry] [-rv] [-noshape] [-fg] [-bg] DESCRIPTION
oneko changes your mouse cursor into mouse and creates a little cute cat and the cat start chasing around your mouse cursor. If the cat catchup the ``mouse'', start sleeping. Options -help Prints help message on usage. -tora Make cat into "tora-neko", a cat wite tiger-like stripe. -dog Runs a dog instead of a cat. -sakura Runs Sakura Kinomoto instead of a cat. -tomoyo Runs Tomoyo Daidouji instead of a cat. -time interval Sets interval timer which determine intervals for cat animation. Default value is 125000 and unit is micro-second. Smaller value makes cat run faster. -speed distance Specify the distance where cat jumps at one move in dot resolution. Default is 16. -idle speed Specify the threshold of the speed which ``mouse'' running away to wake cat up. -name name Specify the window name of cat. -towindow When oneko starts with this option, you must select a window by cursor. Then cat appears and starts chasing the window instead of mouse. You can select another running oneko as the target window. If root window is selected, cat chases mouse as usually. When the target window is not in sight and not closed, cat chases mouse as usually. If the target window is closed, this program exit. -toname name Specify the window name of target to make cat chase it instead of mouse. You can specify another running oneko as the target win- dow. When the target window is not in sight and not closed, cat chases mouse as usually. If the target window is closed, this pro- gram exit. -tofocus Makes cat run to and on top of focus window. When focus window is not in sight, cat chases mouse as usually. -position geometry Specify X and Y offsets in pixels to adjust position of cat relative to mouse pointer. -rv Reverse background color and foreground color. -noshape Don't use SHAPE extension. -fg color Foreground color. -bg color Background color. -cursor cursornumber Specify a cursos number to set when quitting. For example, 132 is the default root cursor. Resources Application name is "neko"(or "tora") and class name is "Oneko". tora Set ``True'' if you want "tora-neko". time Sets interval timer in micro-second. speed Sets distance to jump in pixel. idle Sets speed threshold to wake cat up when ``mouse'' running away. noshape Set ``True'' if you don't want to use SHAPE extension. reverse Set ``True'' if you want to switch foreground and background color. foreground Foreground color. background Background color. Notes While this program uses XGetDefault, be sure to use "neko.resouce" form. If you run this program as "tora", by hard of soft link, the -tora option is enabled by default. BSD Daemon Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved. Sakura Kinomoto and Tomoyo Daidouji are characters in a comic strip "CARDCAPTOR SAKURA" (CLAMP, Kodansha), with the sanction indicated in CLAMP SCHOOL WEB CAMPUS (http://www.clamp.f-2.co.jp/). AUTHOR
Original xneko is written by Masayuki Koba and modified to oneko by Tatsuya Kato, and modified furthermore by John Lerchey, Eric Anderson, Toshihiro Kanda and Kiichiroh Mukose. MAINTAINER
Send questions or problems to mukose@hbar.mp.es.osaka-u.ac.jp ONEKO(6)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy