Displaying 20 results from an estimated 2279 matches for "newlines".
Did you mean:
newline
2004 Sep 17
3
newlines in vorbis comments
Is there any way to put a newline character in comments for ogg
vorbis files in Linux? I can't see any way of doing it with
vorbiscomment. Easytag would work, but has other problems
(like concatenating comment fields with the same tag name).
If I wanted to put together a quick hack to add a such a comment
(I'm thinking read the comment from a file, with the tag name
specified at the
2004 Sep 17
3
newlines in vorbis comments
Is there any way to put a newline character in comments for ogg
vorbis files in Linux? I can't see any way of doing it with
vorbiscomment. Easytag would work, but has other problems
(like concatenating comment fields with the same tag name).
If I wanted to put together a quick hack to add a such a comment
(I'm thinking read the comment from a file, with the tag name
specified at the
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix trailing newlines processing in backquote expanding
...=commit;h=42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Author: Nikolai Merinov <n.merinov at inango-systems.com>
AuthorDate: Mon, 29 Apr 2019 19:13:37 +0500
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: expand: Fix trailing newlines processing in backquote expanding
[ dash commit c4f4ee8ecf85834811c252fc1df3892863572bbd ]
According to POSIX.1-2008 we should remove newlines only at the end of
the substitution. Newlines-only substitions causes dash to remove
newlines before beggining of the substitution. The following code:...
2010 Dec 30
2
remove newlines / perl /concise example
Thanks for the previous tips and suggestions. Here's a more concise
example:
Input file:
<aaaa>
<bbbb>
<cccc>
<dddd>
I want everything on one line, i.e., remove all newlines. Like so:
<aaaa><bbbb><cccc><dddd>
Simple perl code:
#!/usr/bin/env perl
# Remove newlines from a file in two ways:
# (1) Just "chomp" them;
# (2) Replace them with a space.
# Open input file for reading only.
my $infilename = "/tmp/newline-test-in"...
2016 Jun 04
1
RProfmem output format
...can be avoided if one allocates some memory before (in a
fresh R session):
> z <- raw(1000); dummy <- gc()
> Rprofmem(); x <- raw(2000); Rprofmem("")
> cat(readLines("Rprofmem.out", n=5, warn=FALSE), sep="\n")
2040 :"raw"
2. About missing newlines when stacktrace is empty
As a refresher, the problem is that memory allocations an empty
stracktrace are reported without newlines, i.e.
192 :360 :360 :1064 :2040 :"raw"
The question is why this is not reported as:
192 :
360 :
360 :
1064 :
2040 :"raw"
This was/is because C...
2005 Sep 01
1
R CMD BATCH on scripts without trailing newline
If the last line of an R script does not have a trailing newline, a
small errror is produced at the end of the script.
Small example. If file eg.r contains one line:
getwd()
and there is no newline after the closing paren
$ R CMD BATCH eg.r
produces an error:
$ cat eg.r.Rout
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.1.1 Patched (2005-09-01), ISBN 3-900051-07-0
2008 Aug 04
2
Parsing code with newlines
Dear List,
When I try to parse code containing newline characters with R_ParseVector, I
get a compilation error. How can I compile code that includes comments and
newlines?
I am using the following:
void* my_compile(char *code)
{
SEXP cmdSexp, cmdExpr = R_NilValue;
ParseStatus status;
PROTECT (cmdSexp = allocVector (STRSXP, 1));
SET_STRING_ELT (cmdSexp, 0, mkChar (code));
PROTECT (cmdExpr = R_ParseVector (cmdSexp,-1,&status,
R_NilVa...
2010 Dec 30
4
perl code to remove newlines
...l="HOME" title="Maximum RPM" href="index.html">
<line rel="UP" title="Using RPM to Verify Installed Packages"
href="ch-rpm-verify.html">
<link ....
--------- end snippet ---------
I've hit a wall trying to remove all the newlines. I've tried it
several ways... here's just one:
--------- begin snippet ---------
while (<$in>)
{
s/<(\w*\W)/<\L$1/g; # Downcase XXX in "<XXX".
s/<\/(\w*\W)/<\/\L$1/g; # Downcase XXX in "</XXX".
if(/^>/) # if this line starts w...
2019 Jan 25
0
[klibc:update-dash] [PARSER] Handle backslash newlines properly after dollar sign
...c.git;a=commit;h=e168c38081489046ec1dc612597b718a5adee74c
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Handle backslash newlines properly after dollar sign
On Tue, Aug 26, 2014 at 12:34:42PM +0000, Eric Blake wrote:
> On 08/26/2014 06:15 AM, Oleg Bulatov wrote:
> > Hi!
> >
> > While playing with sh generators I found that dash and bash have different
> > interpretations for <slash><newlin...
2006 Aug 17
6
auth failure with digest-md5
Hi!
I'm using:
Dovecot 1.0.beta8
OpenBSD 3.9
KMail 1.9.3
My password file contains only one user now. I've changed its password
to a dumb one: 'asd' (so this is not a wrong password failure :)
I've configured the PLAIN and DIGEST-MD5 mechanisms in dovecot.conf, and
I'm only using pop3.
Also I've turned on the verbose auth logging, and I'm attaching the logs
2003 Sep 03
1
Last line in .Rprofile must have newline (PR#4056)
Full_Name: Henrik Bengtsson
Version: R v1.7.1
OS: WinXP Pro, Solaris 9
Submission from: (NULL) (130.235.2.229)
A colleague of mine who is new to R had problems setting up his .Rprofile and we
tracked it down to the following. On both WinXP and Solaris with Rv1.7.1 we
noticed that the *last* line in .Rprofile has to have a *newline* to be
evaluated. For instance, starting R with the following
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Handle backslash newlines properly after dollar sign
...a=commit;h=0b425be3b607419cc27bdab4de3f9178b637c7c7
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER] Handle backslash newlines properly after dollar sign
[ dash commit ef91d3d6a4c39421fd3a391e02cd82f9f3aee4a8 ]
On Tue, Aug 26, 2014 at 12:34:42PM +0000, Eric Blake wrote:
> On 08/26/2014 06:15 AM, Oleg Bulatov wrote:
> > Hi!
> >
> > While playing with sh generators I found that dash and bash have diffe...
2016 Mar 19
3
ssh-copy-id no newline bug
When editing ~/.ssh/authorized_keys manually, sometimes users forget
to add a newline at the end of the file, causing the next ssh-copy-id
call to append a new key to an existing key, invalidating both keys.
This can be fixed by simply adding a newline before appending the key.
Something like this change to
openssh-source/openssh-6.7p1/contrib/ssh-copy-id might work:
# Assuming that the remote
2007 Apr 04
1
[Bug 1302] scp failes to copy a file with newline
http://bugzilla.mindrot.org/show_bug.cgi?id=1302
Summary: scp failes to copy a file with newline
Product: Portable OpenSSH
Version: 4.3p2
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: scp
AssignedTo: bitbucket at mindrot.org
ReportedBy: zdenek at
2004 Jul 03
0
Extra newlines in sshd login messages
Hi.
Some people have reported that login messages reported by sshd have
extra newlines. It looks like there are 2 causes of this:
a) some PAM modules like to return messages of "", which sshd dutifully
appends a newline to and stores for later display.
b) display_loginmsg appends a newline too (I think this dates back to
before PAM supplied its own newlines).
The att...
2017 Oct 06
1
[Bug 1189] New: Include of a file not robust to missing newline at EOF
https://bugzilla.netfilter.org/show_bug.cgi?id=1189
Bug ID: 1189
Summary: Include of a file not robust to missing newline at EOF
Product: nftables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at
2010 Feb 03
0
"read.table" and "scan" skips newlines which "count.fields" finds in Thai textfile
Hi there,
I have some problems reading in a Thai text.
Some of the newlines are skipped.
(see the contents of my file below)
R>count.fields ("my.txt", sep='\n', quote="")
[1] 1 1 1
Three lines with one item each, right?
R> scan("my.txt", what="", sep="\t", quote="")
Read 2 items
[1] "?\x83?...
2008 Oct 15
5
script question
Hi all,
I am trying to create a script that takes an entire file,
drops the first 19 characters from each line and creates a new file.
I am missing something easy but I am not seeing it.
Jerry
---
I tried the script below but did not work.
rm output.txt
cat test.txt | \
while read LINE
do
newline=`echo $LINE | cut -f 19-`
echo $newline >> output.txt
done
2011 Nov 09
2
R: Re: Dos/Unix newline translating
...line
> translating ?
Windows uses '\r\n' and Unix uses '\n'...
Either configure your Windows text editor to use \n,
or use dos2unix or use sed, etc...
A simple google search would have pointed to you to something like:
http://www.cyberciti.biz/faq/howto-unix-linux-convert-dos-newlines-cr-lf-unix-text-format/
JD
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
2009 Aug 25
0
[LLVMdev] Regular Expression lib support
...ddition to its normal function,
and the $ anchor matches the null string before any newline in the
string in addition to its normal function.
REG_NOTBOL
The first character of the stringis not the beginning of a line, so the
^ anchor should not match before it.
This does not affect the behavior of newlines under REG_NEWLINE .
REG_NOTEOL
The NUL terminating the string does not end a line, so the $ anchor
should not match before it.
This does not affect the behavior of newlines under REG_NEWLINE .
> As mentioned before I think we can change the matches to be returned in a small
> vector or simil...