08-29-2011
Neo, you're being inconsistent.
But to try to introduce a modicum of consistency, please delete the word "Religious" from "Crazy people unleash a deady Virus (Politics, Religion)" (and correct the spelling of "deadly"), and "Spiritual" from "Other (Personal, Spiritual)".
7 More Discussions You Might Find Interesting
1. Programming
So, this is my first C++ program under linux. My OS is Red Hat 8.0, and my codes are like following:
$vi hello.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
$ g++ -o hello hello.cpp
the error message are: ... (3 Replies)
Discussion started by: HOUSCOUS
3 Replies
2. Shell Programming and Scripting
Hi, I read a .txt file with read command. while read PC USER PASS SHARE EXCL
do
...
done
The file is like this: pc1 usr pc01 parts
pc2 usr pc02 parts nobackup
pc3 usr pc03 parts
pc4 usr pc04 parts
pc10 usr pc10 parts nobackup
pc13 usr pc13 share,share_2 noshare,noshare_2But if I want... (3 Replies)
Discussion started by: mbarberis
3 Replies
3. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
4. Shell Programming and Scripting
Hi,
Could anyone please shed some light on the following script lines and what is it doing as it was written by an ex-administrator?
cat $AMS/version|read a b verno d
DBVer=$(/usr/bin/printf "%7s" $verno)
I checked that the cat $AMS/version command returns following output:
... (10 Replies)
Discussion started by: dbadmin100
10 Replies
5. Programming
Hello!
I have a question to native English-speaking people. In the popular program's "hello world" greeting, what meaning the "world" has: "all", "everybody", "people", "friends" or "whole world", "planet", "Earth", "Universe"?
In other words, to whom this greeting is addressed: to the... (14 Replies)
Discussion started by: Eugene Muzychen
14 Replies
6. Shell Programming and Scripting
Hello All,
I have an Expect script that ssh's to a remote server and runs some commands before exiting.
One of the commands I run is the "hostname" Command. After I run this command I save the output
using this line in the code below...
Basically it executes the hostname command, then I... (2 Replies)
Discussion started by: mrm5102
2 Replies
7. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
perl::critic::policy::valuesandexpressions::requireuppercasehere
Perl::Critic::Policy::ValuesAndExpressions::RequireUpperUserHContrPerl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator(3)
NAME
Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator - Write " <<'THE_END'; " instead of " <<'theEnd'; ".
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
For legibility, HEREDOC terminators should be all UPPER CASE letters (and numbers), without any whitespace. Conway also recommends using a
standard prefix like "END_" but this policy doesn't enforce that.
print <<'the End'; #not ok
Hello World
the End
print <<'THE_END'; #ok
Hello World
THE_END
CONFIGURATION
This Policy is not configurable except for the standard options.
SEE ALSO
Perl::Critic::Policy::ValuesAndExpressions::RequireQuotedHeredocTerminator
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator(3)