GNU bug report logs - #51792
coreutils - csplit - feature request

Previous Next

Package: coreutils;

Reported by: Rodolfo Aramayo <raramayo <at> tamu.edu>

Date: Fri, 12 Nov 2021 17:08:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Rodolfo Aramayo <raramayo <at> tamu.edu>
To: 51792 <at> debbugs.gnu.org
Subject: bug#51792: coreutils - csplit - feature request
Date: Fri, 12 Nov 2021 11:05:09 -0600
[Message part 1 (text/plain, inline)]
Dear Coreutils Maintainers,

First, thank you for your work. I use coreutils daily both for my research
and teaching. It is a great set of tools.

Second, I recently needed to extract Coding Sequences information from a
GenBank file. GenBank files are used in Computational
Genomics/Bioinformatics extensively. I used csplit, and it works like a
charm.

The command I used is:

csplit -sz -n 5 --prefix=02_ 01_00001
/[[:space:]][[:space:]][[:space:]][[:space:]][[:space:]]CDS[[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]][[:space:]]/
{*};

I was unable to declare: "[[:space:]]\+" as I expected for POSIX aware code.

My question is: Is csplit POSIX compatible? and if it is not, can we make
it POSIX compatible?

Many Thanks

Rodolfo

--
Dr. Rodolfo Aramayo, PhD
Faculty of Biology and Genetics
Department of Biology, Texas A&M University
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.