Sponsored Content
Top Forums Shell Programming and Scripting Assignment operator without operand Post 302914205 by Rameshck on Friday 22nd of August 2014 04:18:33 PM
Old 08-22-2014
Assignment operator without operand

Does anyone know how this line in bash works?

Code:
local gotbase= force= nicelevel corelimit
local pid base= user= nice= bg= pid_file=
local cgroup=

These lines are part of the daemon function inside the "functions" file at /etc/init.d in RH.

Last edited by Don Cragun; 08-22-2014 at 06:06 PM.. Reason: Change bold tags to CODE tags, add missing ICODE tags.
 

10 More Discussions You Might Find Interesting

1. Programming

what is diff b/w copy constructor and overloaded assignment operator

Helo i m new in c++. i m confuse about what is exact difference b/w copy constructor and overloaded assignment operator. Regards, Amit (3 Replies)
Discussion started by: amitpansuria
3 Replies

2. Shell Programming and Scripting

scalar variable assignment in perl + { operator

When reading over some perl code in a software document, I came across an assignment statement like this $PATH = ${PROJECT}/......./.... In this particular form of scalar variable assignment, what does the curly braces operators do ? Also, what is the benefit in doing scalar assignment this... (3 Replies)
Discussion started by: JamesGoh
3 Replies

3. Shell Programming and Scripting

syntax error: `-a' unexpected operator/operand in IF

When i tyr this, it gives me a syntax error...i tried removing quotes,removing spaces,replacing -eq with '='.. Can somebody suggest that is the problem? if ]; then (4 Replies)
Discussion started by: dba.admin2008
4 Replies

4. Programming

Need help compiling in C: lvalue required as left operand of assignment

Hi, I am trying to compile a program (not coded by me), and i'm getting this error: 203: error: lvalue required as left operand of assignment As you may be guessing, the program doesn't compile, the line number 203 is the following: ... (2 Replies)
Discussion started by: Zykl0n-B
2 Replies

5. Programming

c++ assignment operator overloading

Hello everyone! Suppose that I have something like this A a; a.mem=new int; A b = a; where class A { public: int * mem; A() : mem(NULL) { } ~A() { if (mem!=NULL) delete mem; (1 Reply)
Discussion started by: bashuser2
1 Replies

6. Programming

lvalue required as left operand of assignment

z < 0 ? z= z + 2*r*cos(theta) : z= z - 2*r*cos(theta); Does anyone know what is wrong here? I've got compiler msg: lvalue required as left operand of assignment All variables are "double". I'm using gcc compiler (but I don't think that matters) (5 Replies)
Discussion started by: EmilyTheStrange
5 Replies

7. Programming

"lvalue required as left operand of assignment" error in C

Hey all. I've been working on some fun with C and decided to write a Rock Paper Scissors game. The problem is, that when I try to compile the file, it gives "lvalue required as left operand of assignment" error. The error line is here: for ((point1=0 && point2=0); ((point1=3) || (point2=3));... (4 Replies)
Discussion started by: drouzzin
4 Replies

8. Homework & Coursework Questions

Compiler error "lvalue required as left operand of assignment"

1. After trying to compile code error is given Lvalue required as left operand of assignment. 2. Relevant commands, code, scripts, algorithms: if , else if 3. The attempts at a solution (include all code and scripts): /* File: incircles.cpp Created by: James Selhorst ... (2 Replies)
Discussion started by: c++newb
2 Replies

9. Programming

Need to understand the overloaded assignment operator behavior

Hi, In the following code, class A { public: void operator=(const A& rhs) { if (this == &rhs) cout << "self-assigned"; } }; class B { A a; // should not be a pointer member, (i.e) A* a }; int main() { B b; b = b; // Ans: self-assigned } I am really... (5 Replies)
Discussion started by: royalibrahim
5 Replies

10. Shell Programming and Scripting

Newbie question: modulo operator with negative operand, bug or feature?

Hi, I'm new to the Ash shell so my apologies if this is well known. In normal maths and other shells and languages I've used, the modulo operator always returns a positive remainder. For example see this discussion (first post so I can't hyperlink it): ... (11 Replies)
Discussion started by: FleetFoot
11 Replies
IS-IS(8)							  Version 0.97.3							  IS-IS(8)

NAME
isisd - an IS-IS routing engine for use with Quagga routing software. SYNOPSIS
isisd [ -dhv ] [ -f config-file ] [ -i pid-file ] [ -P port-number ] [ -A vty-address ] [ -u user ] [ -g group ] DESCRIPTION
isisd is a routing component that works with the Quagga routing engine. OPTIONS
Options available for the isisd command: -d, --daemon Runs in daemon mode, forking and exiting from tty. -f, --config-file config-file Specifies the config file to use for startup. If not specified this option will likely default to /usr/local/etc/isisd.conf. -g, --group group Specify the group to run as. Default is quagga. -h, --help A brief message. -i, --pid_file pid-file When isisd starts its process identifier is written to pid-file. The init system uses the recorded PID to stop or restart isisd. The likely default is /var/run/isisd.pid. -P, --vty_port port-number Specify the port that the isisd VTY will listen on. This defaults to 2608, as specified in /etc/services. -A, --vty_addr vty-address Specify the address that the isisd VTY will listen on. Default is all interfaces. -u, --user user Specify the user to run as. Default is quagga. -v, --version Print the version and exit. FILES
/usr/local/sbin/isisd The default location of the isisd binary. /usr/local/etc/isisd.conf The default location of the isisd config file. $(PWD)/isisd.log If the isisd process is config'd to output logs to a file, then you will find this file in the directory where you started isisd. WARNING
This man page is intended to be a quick reference for command line options. The definitive document is the Info file Quagga. DIAGNOSTICS
The isisd process may log to standard output, to a VTY, to a log file, or through syslog to the system logs. isisd supports many debugging options, see the Info file, or the source for details. SEE ALSO
bgpd(8), ripd(8), ripngd(8), ospfd(8), ospf6d(8), zebra(8), vtysh(1) BUGS
isisd is ALPHA quality at the moment and hasn't any way ready for production use. isisd eats bugs for breakfast. If you have food for the maintainers try http://bugzilla.quagga.net AUTHORS
See http://isisd.sourceforge.net or the Info file for an accurate list of authors. Quagga IS-IS daemon 25 November 2004 IS-IS(8)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy