Hello,
am I new to awk, and I am tryint to:
INPUT FILE:
"73423555","73423556","73423557","73423558","73423559"
OUTPUT FILE:
73423555
73423556
73423557
73423558
73423559
My useless code so far:
#!/bin/awk -F ','
BEGIN
{
i=0;
} (8 Replies)
Hi there,
Below is sample three rows which i need transpose into multiple rows.
By keeping first 2 fields static and split them into multiple rows depend following date field. Each into seperate rows.
Sample code:
... (6 Replies)
Hi Folks,
Iam a kinda newbie to unix shell scripting, the scenario is i have a text file containing the following info
Charlie chicago 15
Charlie newyork 26
jonny chicago 14
jonny newyork 15
joe chicago 15
joe newyork 18output should be
Name chicago ... (3 Replies)
Hi there,
I have a small csv file example below:
source,cu_001,cu_001_volume,cu_001_mass,cu_002,cu_002_volume,cu_002_mass,cu_003,cu_003_volume,cu_003_mass
ja116,1.33,3024000,9374400,1.54,3026200,9375123,1.98,3028000,9385512
I want to transpose columns to rows starting at the second... (3 Replies)
Hi All,
In shell, I have below data coming from some some text file as below:
. 351706 5861.8 0.026 0.012 12.584 0.026 0.012 12.582 0.000 0.000 0.000
Now i need the above data to be transposed as below
351706... (16 Replies)
Hello guys,
First of all happy holidays and happy new year.
I'm new in bioinformatic and also it is my first time that I write in this forum. Therefore, sorry if I make some mistakes.
I'm writing to ask your help to fix a problem:
I have a file like this:
gene1 GO:0016491|GO:0055114... (8 Replies)
Discussion started by: Salvatore_espos
8 Replies
LEARN ABOUT PLAN9
transpose
TRANSPOSE(9.1) TRANSPOSE(9.1)
NAME
rotate, transpose - re-orient an image
SYNOPSIS
fb/rotate angle [ input ]
fb/transpose [ -vhadrlui ] [ -ox y ] [ input ]
DESCRIPTION
Rotate rotates the image in its input picture file (default standard input) clockwise by angle degrees, writing the resulting picture file
on standard output.
Transpose turns its input picture file on its side by reflection through its major (descending from left to right) diagonal, writing the
resulting picture file on standard output. If no file name is given, the picture is read from standard input. Options yield all possible
symmetries of the square grid:
-d reflects the image through its descending diagonal (the default).
-a reflects the image through its ascending diagonal.
-v reflects the image left-to-right through its vertical center line.
-h inverts the image top-to-bottom through its horizontal center line.
-r rotates the image to the right (clockwise) 90 degrees.
-l rotates the image to the left (counterclockwise) 90 degrees.
-u rotates the image upside down (180 degrees).
-i identity transformation (for completeness only.)
-o x y translates by (x,y). Without -o, the input and output files have the same upper-left corner.
Transpose is particularly useful to convince programs that work on the rows of a picture file to operate on columns. For example
fb/transpose big |
fb/resample 48 |
fb/transpose |
fb/resample 48 >tiny
makes a tiny 48x48 version of a big picture.
SOURCE
/sys/src/fb/rotate.c
/sys/src/fb/transpose.c
SEE ALSO
picfile(9.6), resample(9.1)
BUGS
Very large images may not fit in memory. The result of rotate is not anti-aliased.
TRANSPOSE(9.1)