search for: newlin

Displaying 20 results from an estimated 2279 matches for "newlin".

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...
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...
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&quo...
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...
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 Patc...
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...
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...
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><newl...
2006 Aug 17
6
auth failure with digest-md5
...(the first) success, all further logins fails. Yes this a sometimes working/sometimes not problem, which is rare in this business... Here is the log of the first success: 00:48:41 Info: auth(default): client in: AUTH 1 DIGEST-MD5 service=POP3 secured lip=192.168.0.202 rip=192.168.0.3 resp= <newline> 00:48:41 Info: auth(default): client out: CONT 1 cmVhbG09IiIsbm9uY2U9ImJua2tUaHBDVURJblFENWRJZlgyb1E9PSIscW9wPSJhdXRoIixjaGFyc2V0PSJ1dGYtOCIsYWxnb3JpdGhtPSJtZDUtc2VzcyI= <newline> 00:48:41 Info: auth(default): client in: CONT 1 dXNlcm5hbWU9ImxldmEiLHJlYWxtPSIiLG5vbmNlPSJibmtr...
2003 Sep 03
1
Last line in .Rprofile must have newline (PR#4056)
...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 .Rprofile: a <- 1 <newline> b <- 2 will only set the variable 'a'. Adding a newline to the second line will set 'b' too. FYI: I browsed through ?.Rprofile and R-intro.html to see if it was document, but i...
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 dif...
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...
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 pytela.net...
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 a...
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 netfilter.org Reporter: netfilter at allycomm...
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] "?\x8...
2008 Oct 15
5
script question
...ll, 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 test.txt is below 10-Oct-08 08:14 am 10 10-Oct-08 08:20 am 20 10-Oct-08 08:24 am 30 10-Oct-08 08:29 am 40 10-Oct-08 08:34 am 50 10-Oct-08 08:39 am 60 10-Oct-08 08:44 am 80 10-Oct-08 08:49 am 10 10-Oct-08...
2011 Nov 09
2
R: Re: Dos/Unix newline translating
...with RedHat and Samba 3.0.10 configured in the same way, but I can view correctly text files which I move to RedHat server. ----Messaggio originale---- Da: jdmls at yahoo.com Data: 9-nov-2011 11.42 A: "samba at lists.samba.org"<samba at lists.samba.org> Ogg: Re: [Samba] Dos/Unix newline translating From: Riccardo Castellani <ric.castellani at alice.it> > if I create a text file in my Windows XP client and I copy it to > /temporary folder, then I open it by VI editor into my Debian server and > I see '^M' at the end of every row. > How can I solve prob...
2009 Aug 25
0
[LLVMdev] Regular Expression lib support
...NOSPEC=1, >> + // Compile for matching that ignores upper/lower case distinctions. >> + ICASE=2, >> + // Compile for matching that need only report success or failure, >> + // not what was matched. >> + NOSUB=4, >> + // Compile for newline-sensitive matching. With this flag '[^' bracket >> + // expressions and '.' never match newline. A ^ anchor matches the >> + // null string after any newline in the string in addition to its normal >> + // function, and the $ anchor matches the null...