Sponsored Content
Full Discussion: Cut command in a matrix
Top Forums Shell Programming and Scripting Cut command in a matrix Post 302757803 by raghur77 on Friday 18th of January 2013 03:50:46 AM
Old 01-18-2013
thank you balajesuri , it works
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Is CUT the right command?

Attempting to pass in-line parameters & values to a shell script, using the CUT command to split a value where a ',' delimiter is used. The format of the passed value will be '00:00:00,00:00:00'. If I create a file with the contents "12:34:56,12:34:56", using the command cut -d, -f1 < file I get... (4 Replies)
Discussion started by: kutz13
4 Replies

2. AIX

Use of Cut Command

Hi All, Can anyone tell me how to use cut command?I have tried but its not working...Please find the details below : $ cat file1 SlNo. E_ID E_Name Age Dept 1 123 A 20 Electrical 2 124 B 20 Electronics 3 125 C 24 Computer 4 126 D 23 Mechanical ... (3 Replies)
Discussion started by: Puja Sharma
3 Replies

3. Shell Programming and Scripting

cut command

HI, Bieng new to this forum not know how to start new thread. hence updating this thread on cut command. Please suggest delimter character for below scenario. Here is output of my df -kP command Filesystem 1024-blocks Used Available Capacity Mounted on... (1 Reply)
Discussion started by: nileshjori
1 Replies

4. Shell Programming and Scripting

diagonal matrix to square matrix

Hello, all! I am struggling with a short script to read a diagonal matrix for later retrieval. 1.000 0.234 0.435 0.123 0.012 0.102 0.325 0.412 0.087 0.098 1.000 0.111 0.412 0.115 0.058 0.091 0.190 0.045 0.058 1.000 0.205 0.542 0.335 0.054 0.117 0.203 0.125 1.000 0.587 0.159 0.357... (11 Replies)
Discussion started by: yifangt
11 Replies

5. Shell Programming and Scripting

Cut and paste data in matrix form

I have large formatted data file with five columns. This has to be rearranged in lower order matrix form as shown below for sample data. 1 2 3 4 5 1.0 3.0 2.0 5.0 3.0 2.0 4.0 3.0 1.0 6.0 2.0 3.0 4.0 5.0 1.0 1.0 4.0 2.0 3.0 5.0 3.0 5.0 4.0 2.0 8.0 1.0 3.0 2.0 4.0 5.0 2.0... (7 Replies)
Discussion started by: dhilipumich
7 Replies

6. Shell Programming and Scripting

Cut Command error cut: Bad range

Hi Can anyone what I am doing wrong while using cut command. for f in *.log do logfilename=$f Log "Log file Name: $logfilename" logfile1=`basename $logfilename .log` flength=${#logfile1} Log "file length $flength" from_length=$(($flength - 15)) Log "from... (2 Replies)
Discussion started by: dgmm
2 Replies

7. Ubuntu

How to convert full data matrix to linearised left data matrix?

Hi all, Is there a way to convert full data matrix to linearised left data matrix? e.g full data matrix Bh1 Bh2 Bh3 Bh4 Bh5 Bh6 Bh7 Bh1 0 0.241058 0.236129 0.244397 0.237479 0.240767 0.245245 Bh2 0.241058 0 0.240594 0.241931 0.241975 ... (8 Replies)
Discussion started by: evoll
8 Replies

8. UNIX for Dummies Questions & Answers

Cut pid from ps using cut command

hay i am trying to get JUST the PID from the ps command. my command line is: ps -ef | grep "mintty" | cut -d' ' -f2 but i get an empty line. i assume that the delimiter is not just one space character, but can't figure out what should i do in order to do that. i know i can use awk or cut... (8 Replies)
Discussion started by: ran ber
8 Replies

9. UNIX for Beginners Questions & Answers

Cut command: can't make it cut fields

I'm a complete beginner in UNIX (and not a computer science student either), just undergoing a tutoring course. Trying to replicate the instructions on my own I directed output of the ls listing command (lists all files of my home directory ) to My_dir.tsv file (see the screenshot) to make use of... (9 Replies)
Discussion started by: scrutinizerix
9 Replies
GVMAP.SH(1)						      General Commands Manual						       GVMAP.SH(1)

NAME
gvmap.sh - pipeline for running gvmap SYNOPSIS
gvmap.sh [-vV?] [ options ] [ -o outfile ] [ files ] DESCRIPTION
gvmap.sh takes as input a graph in DOT format, performs a layout, runs the output through gvmap and renders the output. At some point, it is hoped to integrate all of these tasks into gvmap. OPTIONS
The following options are supported: -a k The integer k specifies the average number of artificial points added along the bounding box of the labels. Such artificial points are added to avoid a country boundary cutting through the boundary box of the labels. Computing time is proportional to k; hence, for large graphs, a small value of k is suggested. If k = -1, a suitable value of k is automatically selected based on the graph size. By default k = -1. -K layout specifies which program should be use for the initial layout. By default, sfdp is run. Also by default, the layout is passed the flag -Goverlap=prism. This can be overridden using a -g flag. -T format specifies the final output format. This works the same way as the -T flag for any Graphviz layout program. -N attr=val specifies the setting of a default node attribute during the rendering phase. This works the same way as the -N flag for any Graphviz layout program. -G attr=val specifies the setting of a graph attribute during the rendering phase. This works the same way as the -G flag for any Graphviz lay- out program. -E attr=val specifies the setting of a default edge attribute during the rendering phase. This works the same way as the -E flag for any Graphviz layout program. -n attr=val specifies the setting of a default node attribute during the layout phase. This works the same way as the -N flag for any Graphviz layout program. -g attr=val specifies the setting of a graph attribute during the layout phase. This works the same way as the -G flag for any Graphviz layout program. -e attr=val specifies the setting of a default edge attribute during the layout phase. This works the same way as the -E flag for any Graphviz layout program. -A flag specifies a flag to be passed to gvmap. For example, gvmap.sh -Ae -As3 causes gvmap -e -s3 to be run. -v Set verbose mode. -V Print version information and exit. -? Print usage information and exit. EXAMPLES
The following invocation creates a map with edges in semi-transparent light gray and nodes laid out using sfdp: gvmap.sh -Ae -Ecolor=#55555522 -Tpng foo.gv > foo.png It is equivalent to running the pipeline sfdp -Goverlap=prism foo.gv | gvmap -e | neato -n2 -Ecolor=#55555522 -Tpng > foo.png AUTHOR
Emden R. Gansner <erg@research.att.com> SEE ALSO
gvmap(1), sfdp(1), neato(1), gvpr(1) E. R. Gansner, Y. Hu, S. G. Kobourov, "GMap: Visualizing graphs and clusters as maps," Proc. Pacific Vis. 2010, pp. 201-208. 31 March 2011 GVMAP.SH(1)
All times are GMT -4. The time now is 01:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy