Hi, I've written a shell function in bash that reads letters into an array, then outputs them in one column with:
for n in "${array}"; do
echo $n
done
I was wondering if anyone knew how i would transpose the letters that are output by the for loop. Right now my output is:
aabbcc... (4 Replies)
Hello
I need to sort a file with data such as so it breaks on column 1 and all the data in column 2 is sorted into rows with a unique column 1:
1 5
1 6
1 7
2 3
2 4
3 7
3 0
3 9
So it comes out as:
1 5 6 7
2 3 4
3 7 0 9
I've tried many iterations of nawk but can't get it... (14 Replies)
Hello guys,
can some please give driection as to how to archieve this big issue i am having:
I a random number that has been generated and wants the user to guess it, let me illustrate this:
say the random i hve generated is 'nice'
- i then hide it from the user and display it in ----... (3 Replies)
Hi All,
I have a input file say FILEA.
FILEA
--------
empid1
sal1
location1
manager1
empid2
sal2
location2
manager2
empid3
sal3
location3
manager3
.
.
. (3 Replies)
Hi Guys,
I have file containing this kind of format below:
======== MOBILITY EVENT (G): ATTACH REJECT =========
Time : <date_time>
Node : <node>
GMM Cause : <code>
Details : <details>
Attach : <attach type>
IMSI : <imsi>
PTMSI : <ptmsi>
RA New : <ra new>
RA... (9 Replies)
Hi, I need to transpose columns of my files into rows and save it as individual files. sample contents of the file below.
0.9120 0.7782 0.6959 0.6904 0.6322 0.8068 0.9082
0.9290 0.7272 0.9870 0.7648 0.8053 0.8300 0.9520
0.8614 0.6734 0.7910 0.6413 0.7126 0.7364 0.8491
0.8868 0.7586 0.8949... (8 Replies)
Okay folks, here's a question. I tried searching but couldn't find exactly what I needed.
I have a text file (excerpt below). This text file is an extract I did from several hundred pages of datasheets using grep so I could look only at the site history for each site. The problem is that... (2 Replies)
Hi,
I've got two files.
files one:
AAMP 2:219129783:A:G
AAMP 2:219129896:A:G
AAMP 2:219130802:T:C
AANAT 17:74464865:T:G
AANAT 17:74464914:A:G
AANAT 17:74464920:T:C
file 2:
AAMP
AANAT
I need to create the following file: (2 Replies)
Discussion started by: zajtat
2 Replies
LEARN ABOUT DEBIAN
dh_installlisting
DH_INSTALLLISTING(1) User Contributed Perl Documentation DH_INSTALLLISTING(1)NAME
dh_installlisting - install .listing files to be used by desktop-profiles package
SYNOPSIS
dh_installlisting [debhelper options] [filename(s)]
DESCRIPTION
dh_installlisting is a debhelper program that handles installing listing files used by the desktop-profiles package into the correct
location in package builddirectories (NOTE: this command is provided by the desktop-profiles package, so don't forget to build-depends on
it). It also updates the cache of profile assignments (when it exists) to reflect the added metadata.
If a file named debian/package.listing exists (or debian/listing in case of the main package) it is installed in etc/desktop-profiles. In
addition any files given as argument will be installed in etc/desktop-profiles as package_file.listing. The format of .listing files is
described in desktop-profiles(7).
A dependancy on desktop-profiles will be added to misc:Depends by using this script.
SEE ALSO debhelper(7)desktop-profiles(7)update-profile-cache(1)AUTHOR
Bart Cornelis (cobaco) <cobaco@skolelinux.no>
perl v5.14.2 2006-12-13 DH_INSTALLLISTING(1)