I have a situation where I am reading a text file line-by-line. Those lines of data contain comma separated fields of data. However, each line can vary in the number of fields it can contain. What I need to do is parse apart each line and write each field of data found (left to right) into a file.... (7 Replies)
Kindly i want to concatenate every 12 lines ina file, using a comma separator between fields (each line)?
can anyone help please?
thanks a lot in advance. (5 Replies)
hey guys!
i need to read data from a file that are comma separated then reorder them in another file to be generated
for example:
x,y,z
a,b,c
l,m,n
o,p,q
and transform this into:
x,a,l,o
y,b,m,p
z,c,n,q
Will appreciate your fast reply
Regards! (5 Replies)
I have a log file that contains several reports with following format.
<Start of delimiter> Report1 header
Report1 header continue
Report1 header continue
Record1 header
Record1 header continue
Record1 header continue
field1 field2 field3 field4
------... (1 Reply)
Hello there,
I have a comma separated csv , and all the text field is wrapped by double quote. Issue is some text field contain comma as well inside double quote. so it is difficult to process.
Input in the csv file is ,
1,234,"abc,12,gh","GH234TY",34
I need output like below,... (8 Replies)
Hi All,
I am facing issue, to read words in line, line as follow and i want to read word at each comma
1,you,are,two
So i want read like
1
you
are
two
Thanks (1 Reply)
Hi,
I have a large number of files which are written as csv (comma-separated values).
Does anyone know of simple sed/awk command do achieve this?
Thanks!
---------- Post updated at 10:59 AM ---------- Previous update was at 10:54 AM ----------
Guess I asked this too soon. Found the... (0 Replies)
Hi Everyone,
On my Linux box I have a text file having block of few lines and this block lines separated by one blank line. I would like to format and print these lines in such a way that this entire block of lines will come as single comma separated line & again next block of lines in next... (7 Replies)
I am trying to change a file that looks like this:
file, announcement,date, server, server01, server02, server06, file04, rec01, rec04, rec03... etc
into a vertical file like this:
file
announcement
date
server
server01
server02
server06
The file does not have to be sorted... (5 Replies)
Hi Experts,
Please support
I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6.
... (3 Replies)
Discussion started by: as7951
3 Replies
LEARN ABOUT DEBIAN
d-shlibmove
d-shlibmove(1) d-shlibs manual d-shlibmove(1)NAME
d-shlibmove - Move shared library files around in Debian package creation process
SYNOPSIS
d-shlibmove [options] shared-library.so
DESCRIPTION
Call this program in debian/rules as a replacement of dh_movefiles for shared library packages.
It also checks debian/control for validity.
OPTIONS --movedev [filename] [relative dir-path]
Install file into relative directory path within the -dev package. The dir will be created with install -d and the file will be
moved.
--moveshl [filename] [relative dir-path]
Install file into relative directory path within the shared library runtime package. The dir will be created with install -d and
the file will be moved.
--movedevdoc [filename]
Install file into the documentation directory of -dev package. The dir will be created with install -d and the file will be moved.
Added in version 0.4
--extralib [shared-library.so]
Install the shared library in the same package as the main shared library.
--multiarch
By default d-shlibmove installs the shared library and any extralibs into /usr/lib. Add this flag to install them into
/usr/lib/<architecture-tripplet> instead.
Added in version 0.48
--commit
By default d-shlibmove runs in a dry-run mode. Add this flag to make the moving actually happen.
--suffix [suffix to add to shared library package]
Add a suffix to shared library package. This is a workaround when binary interface to package changed, and some fixup to Debian
packaging needs to be done.
Added in version 0.3
--devsuffix [suffix to add to development package]
Add a suffix to development package. For making incompatible development package.
--shlibs-local [current-version]
Create a debian/shlibs.local file to use, and specify current-version of shared library package. You need to remove
debian/shlibs.local, because this only appends to, not overwrite.
Added in version 0.3
--devunversioned
Install into unversioned development package.
Added in version 0.42
--ignorelibdep
Suppress shlib dependency. Useful when dynamically resolved e.g. using CDBS.
Added in version 0.42
--c102
Add c102 suffix to package names, for C++ ABI transition.
Added in version 0.8
--ldbl
Add dbl suffix to package names.
Added in version 0.35
--include-a
Install the *.a files. This is the default behavior.
Added in version 0.51
--exclude-a
Avoid installing *.a files.
Added in version 0.51
--include-la
Install the *.la files. This is the default behavior.
Added in version 0.45
--exclude-la
Avoid installing *.la files.
Added in version 0.45
--override [override statement]
Add an overriding sed expression, which looks like --override s/libshared1-dev/libshared-dev/. This expression is executed after
the other rules.
Multiple --override can be specified.
Added in version 0.30
EXIT CODE
Return 1 on error.
Return 2 on dry-run.
Return 0 on success.
EXAMPLES
The following is a sample command-line of a hypothetical package installation.
d-shlibmove --commit--movedev "debian/tmp/usr/include/*" usr/include --extralib debian/tmp/usr/lib/libhomeman-pthread.so
debian/tmp/usr/lib/libhomeman.so
AUTHOR
Junichi Uekawa <dancer@debian.org> <dancer@netfort.gr.jp>
SEE ALSO
d-devlibdeps (1)
Debian GNU/Linux 2002 May 3 d-shlibmove(1)