03-11-2008
How to a prompt a particular value???
Hi i am working with clearcase in my UNIX machine...
Accidentally some had ran a script to check out all files in the machine....
Now i am actually trying to uncheck out all those files and had written a script for it....
The problem is that when ever i am trying to uncheck out the files, its asking the prompt :
"Save private copy of "/mtsdev/mts/common/shells/cronfile.sh"? [yes] ""
and i have to press "n" [no] for each and every file.....
So is there any way to prompt "n"
all the time for the above one......
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do we change the command prompt? right now my prompt says
felix%
where felix is the machine i´m on. but how do we change it? for example, how can i make it say
me%
and how do we get it to tell us what directory we are under because when i change into a subdir then the prompt... (1 Reply)
Discussion started by: eeldivady
1 Replies
2. UNIX for Dummies Questions & Answers
Even though I give rm -f *, the files are listed for confirmation of removal .
Why ?
Thanks
LS (2 Replies)
Discussion started by: ls1429
2 Replies
3. Solaris
Hi,
I'm attempting to reinstall a damaged installation of Solaris 9 (on a SunFire). Connected via serial from a PC. Can't get to the "ok" prompt to launch install from CD. Ctrl+break acknowledges my request for a break, but no prompt. "#." gets me an "sc>" prompt, with several options, but... (3 Replies)
Discussion started by: shonenfan
3 Replies
4. Solaris
Here is a silly question:
I have a Sun 220R and I need to get to the OK prompt. I can't hook up a monitor and keyboard to it. Its on a KVM right now and I also have a console connected to it. I can use PuTTY to get to the console and then connect to the 220R from there.
How can I get to the... (3 Replies)
Discussion started by: hshapiro
3 Replies
5. Solaris
I currently have this as my prompt when I log in (shell is sh):
PS1="`hostname ` # "
My question is how do I add the current directory to that prompt? Is there a way?
Thanks. (5 Replies)
Discussion started by: kjbaumann
5 Replies
6. Solaris
There is a number before the ok prompt in OBP between brackets {}. It is 0 most of the time but sometimes it is different number
{9} ok
or
{0} ok
What does this number mean and how it gets changed? (3 Replies)
Discussion started by: StarSol
3 Replies
7. Solaris
We have a Solaris 10 machine.
Today a weird issue happened.
After login remotely via ssh, the motd appeared BUT
there was no prompt!
The prompt only appears after pressing Ctrl+d or Ctrl+c.
Strange behaviour.
I have checked /etc/profile and own user .profile, there is no anamoly.
... (11 Replies)
Discussion started by: sundar63
11 Replies
8. Shell Programming and Scripting
Hello,
I am connectin to a remote server using:
ftp -n -i <server>
user <username> <password>
lcd ~/YAFFA
after i execute lcd command ther is a prompt:
"Local directory now /home/YAFFA"
How can is make it disappear?
:confused:
Please use and tags when posting code, data... (2 Replies)
Discussion started by: LiorAmitai
2 Replies
9. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies
10. Solaris
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
LOOKBIB(1) General Commands Manual LOOKBIB(1)
NAME
indxbib, lookbib - build inverted index for a bibliography, find references in a bibliography
SYNOPSIS
indxbib database ...
lookbib [ -n ] database
DESCRIPTION
Indxbib makes an inverted index to the named databases (or files) for use by lookbib(1) and refer(1). These files contain bibliographic
references (or other kinds of information) separated by blank lines.
A bibliographic reference is a set of lines, constituting fields of bibliographic information. Each field starts on a line beginning with
a ``%'', followed by a key-letter, then a blank, and finally the contents of the field, which may continue until the next line starting
with ``%''.
Indxbib is a shell script that calls /usr/libexec/refer/mkey and /usr/libexec/refer/inv. The first program, mkey, truncates words to 6
characters, and maps upper case to lower case. It also discards words shorter than 3 characters, words among the 100 most common English
words, and numbers (dates) < 1900 or > 2000. These parameters can be changed; see page 4 of the Refer document by Mike Lesk. The second
program, inv, creates an entry file (.ia), a posting file (.ib), and a tag file (.ic), all in the working directory.
Lookbib uses an inverted index made by indxbib to find sets of bibliographic references. It reads keywords typed after the ``>'' prompt on
the terminal, and retrieves records containing all these keywords. If nothing matches, nothing is returned except another ``>'' prompt.
Lookbib will ask if you need instructions, and will print some brief information if you reply ``y''. The ``-n'' flag turns off the prompt
for instructions.
It is possible to search multiple databases, as long as they have a common index made by indxbib. In that case, only the first argument
given to indxbib is specified to lookbib.
If lookbib does not find the index files (the .i[abc] files), it looks for a reference file with the same name as the argument, without the
suffixes. It creates a file with a '.ig' suffix, suitable for use with fgrep. It then uses this fgrep file to find references. This
method is simpler to use, but the .ig file is slower to use than the .i[abc] files, and does not allow the use of multiple reference files.
FILES
x.ia, x.ib, x.ic, where x is the first argument, or if these are not present, then x.ig, x
SEE ALSO
refer(1), addbib(1), sortbib(1), roffbib(1), lookbib(1)
BUGS
Probably all dates should be indexed, since many disciplines refer to literature written in the 1800s or earlier.
4.2 Berkeley Distribution October 22, 1996 LOOKBIB(1)