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:
|
|
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
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
#! /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
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
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
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
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
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
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
LEARN ABOUT MOJAVE
moosex::declare::syntax::keyword::role
MooseX::Declare::Syntax::Keyword::Role(3pm) User Contributed Perl Documentation MooseX::Declare::Syntax::Keyword::Role(3pm)
NAME
MooseX::Declare::Syntax::Keyword::Role - Role declarations
METHODS
generate_export
CodeRef Object->generate_export ()
Returns a closure with a call to "make_anon_metaclass".
CONSUMES
o MooseX::Declare::Syntax::MooseSetup
o MooseX::Declare::Syntax::RoleApplication
MODIFIED METHODS
imported_moose_symbols
List Object->imported_moose_symbols ()
Extends the existing "imported_moose_symbols" in MooseX::Declare::Syntax::MooseSetup with "requires", "extends", "has", "inner" and
"super".
import_symbols_from
Str Object->import_symbols_from ()
Will return Moose::Role instead of the default Moose.
make_anon_metaclass
Object Object->make_anon_metaclass ()
This will return an anonymous instance of Moose::Meta::Role.
SEE ALSO
o MooseX::Declare
o MooseX::Declare::Syntax::Keyword::Class
o MooseX::Declare::Syntax::RoleApplication
o MooseX::Declare::Syntax::MooseSetup
AUTHOR
Florian Ragwitz <rafl@debian.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.18.2 2013-12-14 MooseX::Declare::Syntax::Keyword::Role(3pm)