Hi guys
Could anyone advise me how to convert my rows into columns from a file
My file would be similar to this:
A11 A12 A13 A14 A15 ... A1n
A21 A22 A23
A31
A41
A51
...
Am1 Am2 Am3 Am4 Am5 ... Amn
The number of rows is not the same to the number of columns
Thanks in advance (2 Replies)
Hi Gurus,
How to convert rows in to columns using linux shell scripting
Input is like (sample.txt)
ABC
DEF
GHI
JKL
MNO
PQR
STU
VWX
YZA
BCD
output should be (sampleoutput.csv)
ABC,DEF,GHI,JKL,MNO
PQR,STU,VWX,YZA,BCD (2 Replies)
Hi Everyone,
Could someone shed some lights on how to convert the records in rows form into column basis.
172.29.59.12
IBM,8255-E8B
102691P
8
65536 MB
6100-04-11-1140
172.29.59.15
IBM,8255-E8B
102698P
4
45056 MB
6100-04-11-1140
IP SYS MODEL ... (6 Replies)
I am looking to print the data in columns and after every 3 words it should be a new row.
cat example.out | awk 'END { for (i = 0; ++i < m;) print _;print _ }{ _ = _ x ? _ OFS $1 : $1}' m=1| grep -i INNER
I am looking to print in a new line after every 3 words.
... (2 Replies)
Hi Experts,
I have a requirement to convert rows into columns.
For e.g.
Input File:
Output File should be like
Appreciate if you could suggest code snippet(may be awk) for above requirement...
Thanks in Advance for your help... (3 Replies)
I want to put the 3 first lines into a single line separated by ;
I've tried to use Sed and Awk but without success. I'm new to Shell scripting.
Thanks in advance!
Input
112
DESAC_201309_OR_DJ10
DJ10
1234567890123;8
1234567890124;20
1234567890125;3
expected Output... (8 Replies)
hi folks,
I have a sample data like what is shown below:
1,ID=1000
1,Org=CedarparkHospital
1,cn=john
1,sn=doe
1,uid=User001
2,uid=User002
2,ID=2000
2,cn=steve
2,sn=jobs
2,Org=Providence
I would like to convert it into the below format:
1,1000,CedarparkHospital,john,doe,User001... (11 Replies)
Discussion started by: vskr72
11 Replies
LEARN ABOUT DEBIAN
globus-gatekeeper-admin
GLOBUS-GATEKEEPER-(8) University of Chicago GLOBUS-GATEKEEPER-(8)NAME
globus-gatekeeper-admin - Manage globus-gatekeeper services
SYNOPSIS
globus-gatekeeper-admin [-h]
globus-gatekeeper-admin [-l] [-n NAME]
globus-gatekeeper-admin [-e SERVICE] [-n NAME]
globus-gatekeeper-admin [-E]
globus-gatekeeper-admin [-d SERVICE]
DESCRIPTION
The globus-gatekeeper-admin program manages service entries which are used by the globus-gatekeeper to execute services. Service entries
are located in the /etc/grid-services directory. The globus-gatekeeper-admin can list, enable, or disable specific services, or set a
service as the default. The -h command-line option shows a brief usage message.
Listing services
The -l command-line option to globus-gatekeeper-admin will cause it to list all of the services which are available to be run by the
globus-gatekeeper. In the output, the service name will be followed by its status in brackets. Possible status strings are ENABLED,
DISABLED, and ALIAS to NAME, where NAME is another service name.
If the -n NAME is used, then only information about the service named NAME is printed.
Enabling services
The -e SERVICE command-line option to globus-gatekeeper-admin will cause it to enable a service so that it may be run by the
globus-gatekeeper.
If the -n NAME option is used as well, then the service will be enabled with the alias NAME.
Enabling a default service
The -E command-line option to globus-gatekeeper-admin will cause it to enable a service alias with the name jobmanager. The
globus-gatekeeper-admin program will choose the first service it finds as the default. To enable a particular service as the default, use
the -e parameter described above with the -n parameter.
Disabling services
The -d SERVICE command-line option to globus-gatekeeper-admin will cause it to disable a service so that it may not be run by the
globus-gatekeeper. All aliases to a disabled service are also disabled.
FILES
/etc/grid-services
Default location of enabled gatekeeper service descriptions.
University of Chicago 12/13/2011 GLOBUS-GATEKEEPER-(8)