Re: Compiling SPECFUN and similar libraries
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Thu, 31 Jul 2008 08:40:26 -0700
deltaquattro <deltaquattro@xxxxxxxxx> wrote:
To compile a single/double precision version of the code, all
occurences of CS/CD in the first two columns must be changed to
blanks. How can I do this automatically?...
I'd prefer to explicitly specify that CS/CD must
occur in the first two columns of a line.
The character "^" means "beginning of line" in most syntaxes for
"regular expressions". Thus, for a Unix command-line
sed "s/^CS/ /" <infile >outfile
or the same thing with CD. Many editors also do regular expressions.
Emacs does, of course. I suspect others do as well.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Compiling SPECFUN and similar libraries
- From: deltaquattro
- Compiling SPECFUN and similar libraries
- Prev by Date: Re: Issue from IVF 9.0 to IVF 10.1
- Next by Date: Re: Compiling SPECFUN and similar libraries
- Previous by thread: Compiling SPECFUN and similar libraries
- Next by thread: Re: Compiling SPECFUN and similar libraries
- Index(es):