Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Script to do column to row in awk Post 303043583 by vbe on Saturday 1st of February 2020 06:18:44 AM
Old 02-01-2020
Most importantly, you have been here for long enough to know the rule:
Show what you have tried, and when error messages, join them to your request...

So what have you tried so far?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get value of last row and 6 column from awk

I want to get value of last row and 6 column from awk. Below is the format of my file. And RED one is my desired value. Actaully this stats usally update after every 1 hour so i want that every time i run the script i get the latest value. Ending time - 01:00:58 HOURLY CALL ATTEMPTS... (4 Replies)
Discussion started by: wakhan
4 Replies

2. UNIX for Dummies Questions & Answers

awk question row into column

I have a csv file: test1.csv with 26 columns Sample: Data collected Comp1,,,,,,,,,,,,,,,,,,,,,,,,,Average Number of Arrivals with non Zero,0,0,0,0,0,0,0,0,0,...,0 %Utilization,0.1,0.23,0.14,...,0.36 Data collected Comp2,,,,,,,,,,,,,,,,,,,,,,,,,Average Number of Arrivals with non... (2 Replies)
Discussion started by: calitiggr
2 Replies

3. Shell Programming and Scripting

AWK Script - Print a column - within a Row Range

Hi, Please read the whole thread. I have been working on this script below. It works fine, feel free to copy and test with the INPUT File below as well. example: PACKET DATA PROTOCOL CONTEXT DATA APNID PDPADD EQOSID VPAA PDPCH PDPTY PDPID 10 ... (6 Replies)
Discussion started by: panapty
6 Replies

4. Shell Programming and Scripting

Subtracting each row from the first row in a single column file using awk

Hi Friends, I have a single column data like below. 1 2 3 4 5 I need the output like below. 0 1 2 3 4 where each row (including first row) subtracting from first row and the result should print below like the way shown in output file. Thanks Sid (11 Replies)
Discussion started by: ks_reddy
11 Replies

5. Shell Programming and Scripting

awk transpose row into 2 field column

Need to transpose every 2 fields of a row into a single 2 field column. input 4 135 114 76 217 30 346 110 5 185 115 45 218 85 347 125 6 85 116 130 220 65 352 95 11 30 117 55 221 42 355 75 16 72 118 55 224 37 357 430 17 30 119 55 225 40 358 62 21 52 120 65 232 480 360 180 ....... (8 Replies)
Discussion started by: sdf
8 Replies

6. UNIX for Dummies Questions & Answers

append column and row header to a file in awk script.

Hi! Is there a way to append column and row header to a file in awk script. For example if I have Jane F 39 manager Carlos M 40 system administrator Sam F 20 programmer and I want it to be # name gend age occup 1 Jane F 39 manager 2 Carlos M ... (4 Replies)
Discussion started by: FUTURE_EINSTEIN
4 Replies

7. Shell Programming and Scripting

awk - script help: column to row format of data allignment?

Experts Good day, I have the following data, file1 BRAAGRP1 A2X B2X C2X D2X BRBGRP12 A3X B3X Z10 D09 BRC1GRP2 LO01 (4 Replies)
Discussion started by: rveri
4 Replies

8. UNIX for Dummies Questions & Answers

awk to print first row with forth column and last row with fifth column in each file

file with this content awk 'NR==1 {print $4} && NR==2 {print $5}' file The error is shown with syntax error; what can be done (4 Replies)
Discussion started by: cdfd123
4 Replies

9. Shell Programming and Scripting

Transpose column to row - awk

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)
Discussion started by: theflamingmoe
3 Replies

10. Shell Programming and Scripting

awk script row to column

Hi.. I have data : Report testing1 20180419 08:00 Report testing2 20180419 07:35 Report testing 20180419 08:01 Source = data1 Report testing4 20180419 08:05 Source = data1 Report testing5 20180419 08:10 Source = data2 Report testing6 20180419 08:01 Report testing7 20180419 08:19... (4 Replies)
Discussion started by: buncit8
4 Replies
eiskaltdcpp-gtk(1)					      General Commands Manual						eiskaltdcpp-gtk(1)

NAME
EiskaltDC++_Gtk - GUI based on Gtk (based on FreeDC++ and LinuxDC++) SYNOPSIS
eiskaltdcpp-gtk <magnet link> <dchub://link> <adc(s)://link> eiskaltdcpp-gtk <Key> DESCRIPTION
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. COMMAND LINE OPTIONS
A summary of options is included below. -h, --help display help and exit -V, --version output version information and exit KEYBOARD SHORTCUTS
These are default keyboard shortcuts. You can change them in any text editor. For example: sudo nano /usr/share/eiskaltdcpp/gtk/ui/mainwindow.ui Ctrl+O Open options window Ctrl+L Open own filelist Ctrl+E Refresh share Ctrl+R Reconnect to hub Ctrl+N Quick connect Ctrl+H Favourite hubs Ctrl+P Public hubs Ctrl+U Favourite users Ctrl+D Show/hide downloads queue widget Ctrl+S Open search widget Ctrl+F Show/hide find or filter frame Ctrl+A Select all Ctrl+W Close current widget Ctrl+PageUp Switch to the previous widget. Available only if widget panel is used, not working in mode of sidebar. Ctrl+PageDown Switch to the next widget. Available only if widget panel is used, not working in mode of sidebar. Up Switch to the previous string from history of sent messages in chat for current session. Available only when input frame is focused on. Down Switch to the next string from history of sent messages in chat for current session. Available only when input frame is focused on. CHAT COMMANDS
/away <message> - Away mode message on/off /back - Away mode off /browse <nick> - browse user files /clear - Clear chat /close - Close chat /favorite, /fav - Add a hub to favorites /fuser, /fu <nick> - Add user to favorites list /removefu, /rmfu <nick> - Remove user favorite /listfu, /lsfu - Show favorites list /getlist <nick> - Get file list /grant <nick> - Grant extra slot /help - Show help /join <address> - Connect to the hub /me <message> - Say a third person /pm <nick> - Private message /rebuild - Rebuild hash /refresh - Update own file list /userlist - User list show/hide /version - Show version /emoticons, /emot - Emoticons on/off /luafile <file> - Load Lua file /lua <chunk> - Execute Lua Chunk /sh - Execute code (bash) /alias list - Alias List /alias purge A - Alias Remove A /alias A::uname -a - Alias add uname -a as A /A - Alias A executing /ip on/off - Ipfilter on/off /ip list - Show ipfilter rules list /ip up/down - Move rule up/down /ip purge 192.168.1.0/23;192.168.6.0/24 - Remove rules from list /ip 192.168.1.0/23::in;!192.168.6.0/24::both - Add rule 192.168.1.0/23 where direction incoming and action is allow and 192.168.6.0/24 where direction is incoming or outcoming and action is drop /ws <option> [value] - edit config (~/.config/eiskaltdc++/EiskaltDC++_Gtk.xml), also you can edit it manually For example: /ws sound-command aplay (specify program for sound playing) FILES
/usr/share/eiskaltdcpp/gtk Directory with some resource files ~/.config/eiskaltdc++/ or $XDG_CONFIG_HOME/eiskaltdc++/ Directory with configuration files /usr/share/eiskaltdcpp/examples Directory with examples of custom scripts (see /sh chat command) AUTHOR
Full list of authors you can find in file Credits.txt EiskaltDC++ homepage: http://code.google.com/p/eiskaltdc/ BUG REPORTS
If you find a bug in EiskaltDC++ please report it here: http://code.google.com/p/eiskaltdc/issues/list This manual page was written by Boris Pek <tehnick-8@mail.ru> for the Debian project (and may be used by others). 19 Feb 2012 eiskaltdcpp-gtk(1)
All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy