02-15-2007
difference between double inverted coma and single inverted comma
Whats the basic difference between double inverted comma and single inverted comma and no comma applied at all?
Eg1 if [ -f "$filename" ]
Eg2 if [ -f $filename ]
iEg3 f [ -f '$filename' ]
8 More Discussions You Might Find Interesting
1. Red Hat
I don't know exactly when or why, maybe running less or some command, my white text on a black background gets inverted and all the text looks like it is "selected", it is white background with black text.
it is very annoying.
I found this solution.;.
export TERM=vt100
vi
This... (0 Replies)
Discussion started by: srhadden
0 Replies
2. Shell Programming and Scripting
Hi,
I am trying to insert Inverted Commas around all the numeric values within a comma seperated string / variable.
1111,2222,3333,4444
I would like it to be:
'1111','2222','3333','4444'
Note - This string could have a differing amount of numeric values each time the variable is... (4 Replies)
Discussion started by: RichZR
4 Replies
3. Shell Programming and Scripting
Hi fellas,
I have a file like this:
A_B
B_D
C_D
D_B
E_F
G_H
B_A
F_E
In other words, I have member1_member2 and member2_member1 in the same file. In the exemple aforementioned I have A_B and B_A, B_D and D_B, E_F and F_E.
So, I would like to know a sript that print the lines B_A, D_B... (3 Replies)
Discussion started by: valente
3 Replies
4. Shell Programming and Scripting
Hello there,
I have a comma separated csv , and all the text field is wrapped by double quote. Issue is some text field contain comma as well inside double quote. so it is difficult to process.
Input in the csv file is ,
1,234,"abc,12,gh","GH234TY",34
I need output like below,... (8 Replies)
Discussion started by: Uttam Maji
8 Replies
5. Shell Programming and Scripting
Hi,
My input file is like this
chr1 + "NM_1234"
chr1 - "NM_1234"
If I want my third column to contain both the first and second column values, how do I do it?
I know how to do it by including the column numbers, but I want the values before the inverted commas.
So, my output would... (5 Replies)
Discussion started by: jacobs.smith
5 Replies
6. Shell Programming and Scripting
My excuses for a Title which does not really describe what I need.
My OS is Windows Vista/Windows7
I have a large database of homographs with the following structure:
name=name variant
i.e. a variant of a name is provided on a line separated by a =.
An example will make this clear
... (1 Reply)
Discussion started by: gimley
1 Replies
7. Shell Programming and Scripting
Hi Experts,
Please support
I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6.
... (3 Replies)
Discussion started by: as7951
3 Replies
8. Shell Programming and Scripting
Hi,
i want use this Comand for my psql request
sh ssh -o StrictHostKeyChecking=no rootatemailaddress.de sudo psql -U postgres -c "select pg_terminate_backend(pid) from pg_stat_activity where datnam=\'$DB\';"'"
but the shell lost the inverted comma for datnam=\'$DB\'. The request deliver... (2 Replies)
Discussion started by: peterpane007
2 Replies
LEARN ABOUT MOJAVE
glsamplecoverage
GLSAMPLECOVERAGE(3G) OpenGL 3.3 GLSAMPLECOVERAGE(3G)
NAME
glSampleCoverage - specify multisample coverage parameters
C SPECIFICATION
void glSampleCoverage(GLclampf value, GLboolean invert);
PARAMETERS
value
Specify a single floating-point sample coverage value. The value is clamped to the range 0 1. The initial value is 1.0.
invert
Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial
value is GL_FALSE.
DESCRIPTION
Multisampling samples a pixel multiple times at various implementation-dependent subpixel locations to generate antialiasing effects.
Multisampling transparently antialiases points, lines, polygons, and images if it is enabled.
value is used in constructing a temporary mask used in determining which samples will be used in resolving the final fragment color. This
mask is bitwise-anded with the coverage mask generated from the multisampling computation. If the invert flag is set, the temporary mask is
inverted (all bits flipped) and then the bitwise-and is computed.
If an implementation does not have any multisample buffers available, or multisampling is disabled, rasterization occurs with only a single
sample computing a pixel's final RGB color.
Provided an implementation supports multisample buffers, and multisampling is enabled, then a pixel's final color is generated by combining
several samples per pixel. Each sample contains color, depth, and stencil information, allowing those operations to be performed on each
sample.
ASSOCIATED GETS
glGet() with argument GL_SAMPLE_COVERAGE_VALUE
glGet() with argument GL_SAMPLE_COVERAGE_INVERT
glIsEnabled() with argument GL_MULTISAMPLE
glIsEnabled() with argument GL_SAMPLE_ALPHA_TO_COVERAGE
glIsEnabled() with argument GL_SAMPLE_ALPHA_TO_ONE
glIsEnabled() with argument GL_SAMPLE_COVERAGE
SEE ALSO
glEnable()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
OpenGL 3.3 03/08/2011 GLSAMPLECOVERAGE(3G)