This one creates three files: DNA.OUT, RNA.OUT, and AminoAcids from the input file, and prints the numbers of non-empty and empty lines in the file:
I did NOT convert ALL of the RNA-Amino combinations from your sed file; should be easliy doable for you with the samples given...
I am trying to replace the value of $f3 but its not working . I don't know what I am missing here .
cat dim_copy.20080516.sql | grep -i "create view" | grep -v OPSDM002 | while read f1 f2 f3 f4 f5 f6 f7 f8 f9
do
echo " $f3 "
sed -e... (13 Replies)
Is there a way to fix the width of the word being printed to a file? I am trying to create an output to a file with columns , like a spread sheet. I have used "\t" to adjust the columns but still it does not show well in the file, mainly due to the variable length values in the column so \t does... (1 Reply)
Hi Experts
I've problem in a my office server (solaris 10 - x86) version. x4600 M2 hardware
This system is getting rebooted because of zfs bug
I've applied patch using live upgrade with live new environment created and
applied the patch which oracle suggested(
144501-19), it asks for... (3 Replies)
1. The problem statement, all variables and given/known data:
I need help I get a variant of syntax errors when compiling my script to maintain a database. It's a simple database meant to create/view/maintain vehicles.
2. Relevant commands, code, scripts, algorithms:
my if statements have... (5 Replies)
Hi
I use Rapid 7 to check some servers ( AIX 5.3 ) for security problems. There are 2 problems I don't know to deal with
1.
Problem : TCP Sequence Number Approximation Vulnerability
Solution :
_Enable TCP MD5 Signature
2.
Problem : HTTP Basic Authentication Enable
Solution :
_ Use... (5 Replies)
Hey guys,
I am trying to make print a pattern with * on a 10*10 two dimensional array in a for loop and I want the incoming 10*10 to overlap the previous 10*10 so that the * look like it is moving. is there a way to fix the screen position?
ever time it prints a 10*10 the screen moves.
... (3 Replies)
can someone please help me spot and fix the issue with the following code:
awk -F, -v SEARCHPATT="(Wed|Tue)" -v ADDISTR="Mon|Tue|Wed|Thu|Fri|Sat|Sun" -vVF="$VALFOUND"
"BEGIN{ {D = D = 1
D = D = 2
}
$0 ~ "," VF "," {L = 1 ... (9 Replies)
Okay I want to try my luck at fixing bugs for the Fedora OS, but I guess this question deals with any Linux distro or any open source OS for that matter.
I want to know how I can start fixing bugs on the OS level. For example the particular bug that I want to target is this logout bug
I mean... (6 Replies)
Discussion started by: sreyan32
6 Replies
LEARN ABOUT CENTOS
clubak
CLUBAK(1) ClusterShell User Manual CLUBAK(1)NAME
clubak - format output from clush/pdsh-like output and more
SYNOPSIS
clubak [ OPTIONS ]
DESCRIPTION
clubak formats text from standard input containing lines of the form "node:output". It is fully backward compatible with dshbak(1) but
provides additonal features. For instance, clubak always displays its results sorted by node/nodeset.
You do not need to use clubak when using clush(1) as all output formatting features are already included in. It is provided for other
usages, like post-processing results of the form "node:output".
Like clush(1), clubak uses the ClusterShell.MsgTree module of the ClusterShell library (see pydoc ClusterShell.MsgTree).
INVOCATION
clubak should be started with connected standard input.
OPTIONS --version
show clubak version number and exit
-b, -c gather nodes with same output (-c is provided for dshbak(1) compatibility)
-d, --debug
output more messages for debugging purpose
-L disable header block and order output by nodes
-r, --regroup
fold nodeset using node groups
-s GROUPSOURCE, --groupsource=GROUPSOURCE
optional groups.conf(5) group source to use
-G, --groupbase
do not display group source prefix (always @groupname)
-S SEPARATOR, --separator=SEPARATOR
node / line content separator string (default: :)
-F, --fast
faster but memory hungry mode (preload all messages per node)
-T, --tree
message tree trace mode; switch to enable ClusterShell.MsgTree trace mode, all keys/nodes being kept for each message element of the
tree, thus allowing special output gathering
--color=WHENCOLOR
whether to use ANSI colors to surround node or nodeset prefix/header with escape sequences to display them in color on the terminal.
WHENCOLOR is never, always or auto (which use color if standard output refers to a terminal). Color is set to [34m (blue foreground
text) and cannot be modified.
--diff show diff between gathered outputs
EXIT STATUS
An exit status of zero indicates success of the clubak command.
EXAMPLES
1. clubak can be used to gather some recorded clush(1) results:
Record clush(1) results in a file:
# clush -w node[1-7] uname -r >/tmp/clush_output
# clush -w node[32-159] uname -r >>/tmp/clush_output
Display file gathered results (in line-mode):
# clubak -bL </tmp/clush_output
2. Another example, iterate over node* text files in current directory and gather characters count for all of them:
# find -name "node*" -exec wc -c {} ; | awk '{ gsub("./","",$2); print $2": "$1 }' | clubak -bL
node[1,3]: 7
node2: 9
SEE ALSO clush(1), nodeset(1), groups.conf(5).
BUG REPORTS
Use the following URL to submit a bug report or feedback:
https://github.com/cea-hpc/clustershell/issues
AUTHOR
Stephane Thiell, CEA DAM <stephane.thiell@cea.fr>
COPYRIGHT
CeCILL-C V1
1.6 2012-03-28 CLUBAK(1)