Displaying 4 results from an estimated 4 matches for "newn".
Did you mean:
new
2011 Sep 23
4
replace multiple string
Hi
I would like to use a bash script that searches files and
subdirectories name in a directory /var/ww/html/web
for a specific string, and when it finds the search string, replaces
the string (old1) with new string (new1), and so on
old2 with new2 ....oldn with newn.
replace_string.sh
#!/bin/bash
for db in $(find /var/www/html/web -name * -exec)
do
sed -e "s/old1/new1/" \
sed -e "s/old2/new2/" \
...
sed -e "s/oldn/newn/" $db
done
Any recommendation..
Thanks
pons
2010 Sep 01
8
FIXMEs in Search::Xapian
Carrying on this conversation:
http://lists.tartarus.org/pipermail/xapian-discuss/2007-March/003513.html
void
TermGenerator::set_stopper(stopper)
Stopper * stopper
CODE:
// FIXME: no corresponding SvREFCNT_dec(), but a leak seems better
than
// a SEGV!
SvREFCNT_inc(ST(1));
THIS->set_stopper(stopper);
It would be good to fix these FIXMEs.
A class-level HASH could be
2019 Feb 14
0
Proposed speedup of spec.pgram from spectrum.R
...ec.taper(x, taper)
## to correct for tapering: Bloomfield (1976, p. 194)
## Total taper is taper*2
u2 <- (1 - (5/8)*taper*2)
u4 <- (1 - (93/128)*taper*2)
if (pad > 0) {
x <- rbind(x, matrix(0, nrow = N * pad, ncol = ncol(x)))
N <- nrow(x)
}
NewN <- if(fast) nextn(N) else N
x <- rbind(x, matrix(0, nrow = (NewN - N), ncol = ncol(x)))
N <- nrow(x)
Nspec <- floor(N/2)
freq <- seq.int(from = xfreq/N, by = xfreq/N, length.out = Nspec)
xfft <- mvfft(x)
pgram <- array(NA, dim = c(N, ncol(x), ncol(x)))...
2002 Feb 21
2
Printer installation with imprints package
Hi,
I have a samba 2.2.2 on HP-UX 11, serving a few printers. When I install
a new driver via win2000' printer properties dialogue it works fine.
When I try to do the same from unix with the imprints package, ist
screwed. The driver files get uploaded, but they don't register as an
installed driver, with rpcclient 'enumdrivers' I don't 'see' them.
When I set the