Sponsored Content
Top Forums Shell Programming and Scripting set -o vi giving set: Syntax error Post 302452720 by RahulJoshi on Monday 13th of September 2010 12:06:44 AM
Old 09-13-2010
set -o vi giving set: Syntax error

when trying : set -o vi
getting error like-
: set: Syntax error

help me

Moderator's Comments:
Mod Comment Double post (of sorts). Continue here.

Last edited by Scott; 09-13-2010 at 02:40 AM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Export command giving Variable Name vs the Value set for the Variable

I'm having an issue when I export within my program. I'm getting the variable name, not the variable value. I have a configuration file (config.txt) that has the values of the variables set as so: set -a export ARCHIVEPOSourceDir="/interfaces/po/log /interfaces/po/data" export... (2 Replies)
Discussion started by: ParNone
2 Replies

2. Shell Programming and Scripting

set : syntax error

#! /bin/csh set umr=UMR set fd1=a set fd2=b set ext1=1.txt set ext2=2.txt set ext=.txt #foreach i ( `ls`) foreach i ( *) set file_nm=$i set bh_nm=`echo $file_nm | cut -d"_" -f2` if("$bh_nm" != "$umr") then set bh_ext=`echo $file_nm... (0 Replies)
Discussion started by: jdsignature88
0 Replies

3. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

4. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

5. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

6. UNIX for Dummies Questions & Answers

One set of executables but multiple set of configuration

i don't know where to put this question hence it is here. Presently, i have X unix machines which each of them running a set of executables with various unique configurations. i would like to have run multiple set of machines the same set of executeables but each running different... (0 Replies)
Discussion started by: lchunleo
0 Replies

7. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies

8. Shell Programming and Scripting

If condition giving syntax error. Need help.

Hi, I have an if condition on executing it is giving syntax error as below: -------------------------------------------------------------------------------------- line 61: syntax error in conditional expression ./play_test.sh: line 61: syntax error near `]' ./play_test.sh: line 61: ` if... (2 Replies)
Discussion started by: ramki067
2 Replies
MPI_Initialized(3OpenMPI)												 MPI_Initialized(3OpenMPI)

NAME
MPI_Initialized - Indicates whether MPI_Init has been called. SYNTAX
C Syntax #include <mpi.h> int MPI_Initialized(int *flag) Fortran Syntax INCLUDE 'mpif.h' MPI_INITIALIZED(FLAG, IERROR) LOGICAL FLAG INTEGER IERROR C++ Syntax #include <mpi.h> bool Is_initialized() OUTPUT PARAMETERS
flag Flag is true if MPI_Init has been called and false otherwise. IERROR Fortran only: Error status (integer). DESCRIPTION
This routine may be used to determine whether MPI_Init has been called. It is the only routine that may be called before MPI_Init is called. ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func- tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error. SEE ALSO
MPI_Init Open MPI 1.2 September 2006 MPI_Initialized(3OpenMPI)
All times are GMT -4. The time now is 07:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy