@MadeInGermany
I need this result with blank lines because the result should match with the original cvs. Otherwise data from different lines get mixed up.
The resulting data wil be used for a new column added to the original
What is expected output for the given sample ?
In case if you expect newline to be printed for the line which does not content digits, you may try below command
Last edited by Akshay Hegde; 08-23-2016 at 10:48 AM..
Reason: Forgot to remove RS while posting
I found that when I used a variable to receive the result from a command execution, the newline characters were removed from the variable.
For example, I ran
$ ret=`ls -l`
$ echo $ret
Then, I saw:
total 40 -rw-r--r-- 1 testtrunk testtrunk 0 Dec 13 11:13 pk -rw-rw-r-- 1 testtrunk... (2 Replies)
I have successfully used regexp and sed to insert a newline before or after a line containing a matched pattern /WORD/. However, I want to insert a newline immediately following /WORD/ and not after the -line- containing the pattern matched. I can match a pattern, but it is matched via a wild card... (2 Replies)
Hi,
I need to insert two newline characters after matching of a pattern in each line of a file.
Eg. If i have a file with contents as follows:-
Now, i want output as follows :-
i.e., I need to insert two newline characters after the occurance of pattern "</Message>>".
Thnx... (1 Reply)
Hi ,
I am having an issue with the Awk script to insert newline for a regular expression match
Having a file like this
FILE1
####################
RXOER , RXERA , RXERC , RXERD
.RXEA(RXBSN), RXERD , REXCD
input RXEGT
buffer RXETRY
#######################
Want to match the RXE... (38 Replies)
Hi,
I use sed to insert text at beginning of a file. But sed inserts a newline after my text that I do not need. For example, I want to insert "foo" at the beginning of my file:
> cat myfile
This is first line.
> sed -i '1i\foo' myfile
> cat myfile
foo
This is first line.
... (5 Replies)
Hi
While trying to do a search on solaris, the grep results seems to be appearing on the same line instead of the new line.
Wed Jan 18 14:45:48 weblogic@test:/abcd$ grep qainejb02 *
qa_cluster_biz_view_tc_intl_servers_ports_2:qainejb02 7101
qa_cluster_servers_2:qainejb02... (2 Replies)
Greetings:
I generate an empty flat file just fine when there's no data returned from my process, as the customer wants one always (using the 1st line of the below script). However, they also want at least the column names in this flat file (row 1, the only row to be in the emply file). I'm... (7 Replies)
Hi
I'd like to add the newline:
\tuser: nobody", or "<TAB>user: nobody
to all files named:
docker-compose.ymlin subfolders of pwd with names beginning with 10-20.
Within these files, I'd like to find the line (there'll only be one) containing:
command: celery workerNOTE: As far as... (2 Replies)
Discussion started by: duncanbetts
2 Replies
LEARN ABOUT LINUX
cvs-debc
CVS-DEBC(1) General Commands Manual CVS-DEBC(1)NAME
cvs-debc - view contents of a cvs-buildpackage/cvs-debuild generated package
SYNOPSIS
cvs-debc [options] [package ...]
DESCRIPTION
cvs-debc is run from the CVS working directory after cvs-buildpackage or cvs-debuild. It uses the cvs-buildpackage system to locate the
.changes file generated in that run. It then displays information about the .deb files which were generated in that run, by running dpkg-
deb -I and dpkg-deb -c on every .deb archive listed in the .changes file, assuming that all of the .deb archives live in the same directory
as the .changes file. It is useful for ensuring that the expected files have ended up in the Debian package.
If a list of packages is given on the command line, then only those debs with names in this list of packages will be processed.
Note that unlike cvs-buildpackage, the only way to specify the source package name is with the -P option; you cannot simply have it as the
last command-line parameter.
OPTIONS
All current cvs-buildpackage options are silently accepted; however, only the ones listed below have any effect. For more details on all
of them, see the cvs-buildpackage(1) manpage.
-adebian-architecture, -tGNU-system-type
See dpkg-architecture(1) for a description of these options. They affect the search for the .changes file. They are provided to
mimic the behaviour of dpkg-buildpackage when determining the name of the .changes file.
-Mmodule
The name of the CVS module.
-Ppackage
The name of the package.
-Vversion
The version number of the package.
-Ttag The CVS tag to use for exporting sources.
-Rroot directory
Root of the original sources archive.
-Wwork directory
The full path name for the cvs-buildpackage working directory.
-xprefix
This option provides the CVS default module prefix.
--help, --version
Show help message and version information respectively.
SEE ALSO cvs-buildpackage(1), cvs-debi(1), cvs-debuild(1) and debc(1).
AUTHOR
cvs-buildpackage was written by Manoj Srivastava, and the current version of debi was written by Julian Gilbey <jdg@debian.org>. They have
been combined into this program by Julian Gilbey.
DEBIAN Debian Utilities CVS-DEBC(1)