I showed it to the wife and I said 'what sticks out the most?'
She said the 'pink obviously!'
Anyhow here is an add-on to get Fixed Point Numbers SQRT from .100 to 9200000.000 using 'sqrt_bash.sh' edited to 32 bit mode.
All entries MUST be Fixed Point values even if they end in ?.000...
Results, confirmed by Google. Same MBP platform as always.
Hi!
when i'm trying to compile this lite example
on my linux machine I'll get errors and i don't know why..
#include <stdio.h>
#include <math.h> /* needed by sqrt() */
int main()
{
printf("%f", sqrt(10.0));
return (0);
}
this is the error:
/tmp/cc33hNVHK.o: In function... (1 Reply)
Hello Friends,
I am a newbie and have started using different compilers and tools to make myself familiar with their workings. I wanted to know that how compliant is gcc with the C++ standards. It is pretty obvious that no compiler is close to being completely compliant, but if there are some... (7 Replies)
Hi,
i have a the following script:
#!/bin/bash
a=3
b=9
let "c= b*a"
let "d=sqrt $c "
echo $d
But when i execute the code, it gives me the an error saying:
line 5: let: d=sqrt 27 : syntax error in expression (error token is "27 ")
Can any body tell me what I'm doing wrong? (5 Replies)
Hi,
i want to check if a variable var1 is not a or b or c
pseudo code:
If NOT (var1 = a or var1 = b or var1 = c)
then
...
fi
I want to use POSIX complaint Korn shell, and for string comparison
For the following code, logical.sh
#!/usr/bin/ksh
var="j"
echo "Var : $var"
if ! { || ||... (12 Replies)
OS version : RHEL 6.5
Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server
appusr soft nproc 2047
appusr hard nproc 16384
What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ?
I just want to know... (3 Replies)
The POSIX shell standard grammar rules are at
Shell Command Language
I am trying to understand Rule 7 and I don't. I think there may be some mistakes there. I am not complaining about the standard; rather, I am concerned that my perception is wrong, and I don't understand something important.... (3 Replies)
Hi all...
This is more of a concensus question than help...
As many of you know I am experimenting with the limitations of Pure POSIX shell scripting.
Q: Is the directory /bin considered part of the Pure POSIX shell or must I stick entirely with the builtins only?
The reason is I... (2 Replies)
Not even thinking that POSIX-Shell is deprecated, but I like working with bash very much, because of it's increased comfort and advanced functions. And in my world here it's available everywhere as default.
Working with kubernetes now, it seems there is a paradigm shift in terms of resources.... (1 Reply)
Hi all,
I am learning POSIX shell programming, and the book I read, uses the let command for integer arithmetic.
I have downloaded and use the shellcheck program on Linux.
This programs says:
In POSIX sh, 'let' is undefined.
See the screenshot attached.
What is the POSIX... (1 Reply)
Hi all...
Apologies for any typos, etc...
This took a while but it didn't beat me...
Although there are many methods of generating random numbers in a POSIX shell this uses integer maths and a simple C source to create an executable to get epoch to microseconds accuracy if it is needed. I take... (8 Replies)
Discussion started by: wisecracker
8 Replies
LEARN ABOUT DEBIAN
shell
Shell(3) LessTif Manuals Shell(3)NAME
Shell - Shell widget from X Toolkit
SYNOPSIS
#include <X11/Shell.h>
DESCRIPTION
Shell is a widget which is defined in the X Toolkit. We document its existence here for completeness. Please refer to the X Window System
documentation for the real information regarding this widget.
X RESOURCES
Name Class Type Default Access
--------------------------------------------------------------------------------
XtNx XtCPosition Position NULL CSG
XtNy XtCPosition Position NULL CSG
XtNdepth XtCDepth Int NULL CSG
XtNcolormap XtCColormap Colormap NULL CSG
XtNancestorSensitive XtCSensitive Boolean NULL CSG
XtNallowShellResize XtCAllowShellResize Boolean NULL CSG
XtNgeometry XtCGeometry String (null) CSG
XtNcreatePopupChildProc XtCCreatePopupChildProc Function NULL CSG
XtNsaveUnder XtCSaveUnder Boolean NULL CSG
XtNpopupCallback XtCCallback Callback NULL CSG
XtNpopdownCallback XtCCallback Callback NULL CSG
XtNoverrideRedirect XtCOverrideRedirect Boolean NULL CSG
XtNvisual XtCVisual Visual NULL CSG
XtNx
XtNy
XtNdepth
XtNcolormap
XtNancestorSensitive
XtNallowShellResize
XtNgeometry
XtNcreatePopupChildProc
XtNsaveUnder
XtNpopupCallback
XtNpopdownCallback
XtNoverrideRedirect
XtNvisual
CLASS HIERARCHY Object(3)Rect(3)UnNamedObj(3)Core(3)Composite(3)Shell(3)CALLBACKS CONVENIENCE FUNCTIONS SEE ALSO LessTif Project October 1998 Shell(3)