Hello All,
I have been using String.h with gcc 2.95. Now I have upgraded to gcc 3.4. The support for String.h has been removed and I believe Regex.h support is also not inbuilt. So I tried to build my own library for String.h. I had to use Regex.h and rx.h for a succesful library compilation.... (0 Replies)
Hi,
Can someone tell me why the first regular expression with the + fails to match the input string?
SUN /web>echo cat | grep '+'
SUN /web>echo cat | grep ''
cat
I'm running SunOS 5.10
Thanks.
Chris (2 Replies)
Hi there,
How can we use regex in perl to store the Route Distinguisher (the bold field) and also the underlined and bold lines in the below file?
Note:
These highlighted pattern is redundant through the whole input file. Basically, we just need to extract these fields at least to store them... (4 Replies)
Need some help with a regex if loop problem.
File1:
2323
3232
4230
3230
4340
4343
233
32320
I want to print "Zero" if the number ends with a zero, but print "number" if it does not!
#!/bin/bash
/usr/bin/nawk '{
if ($1 ==/+0\b/){
print "Zero"}
else{
print "number"} (5 Replies)
Hi,
I tried to extract the time from `date` with sed.
(I know it works with `date +%H:%M:%S` as well)
I got three solutions of which just one worked. I thought "+" should repeat the previous expression 1 or more times and {n} should repeat the previous expression n times.
$ date
Thu... (9 Replies)
Hi,
I am looking for regex to extract following words from text:
The word which comes after "Replaced" means
Replaced disk
Replaced floppy
Replaced memory
Please suggest the regex for it.
Thanks! (4 Replies)
Script logs into switches on my list but nothing seems to happen.
Following error:
tr nope, doesn't (yet) match (?-xism:-]+ ?(?:\(config*\))? ? ?$)
du SEEN:
Here is code in question:
@version_info = $session_obj->cmd('term length 0');
$session_obj->cmd('show int | i... (5 Replies)
Discussion started by: mrlayance
5 Replies
LEARN ABOUT DEBIAN
jh_makepkg
JAVAHELPER(1) User Commands JAVAHELPER(1)NAME
Javahelper - Part of the Java Helper packaging tools Refer to the tutorials in /usr/share/doc/javahelper for more detail
SYNOPSIS
jh_makepkg [options]
OPTIONS -h --help: show this text
-V --version: show the version
-p<name> --package=<name>: Set the name of the package (defaults to directory name without version)
-m<name> --maintainer=<name>: Set the maintainer name (defaults to DEBFULLNAME, NAME, or the user's full name)
-e<email> --email=<email>: Set the maintainer email (defaults to DEBEMAIL EMAIL or user@host)
-v<version> --upstream=<version>: Set the upstream version (defaults to the directory name after a -)
-c --clean: Tidy up common problems with Java source packages. Removes .class, .jar files and pre-built javadoc trees before creating the
orig.tar.gz
Pick One: -l --library: This is a library package -a --app: This is an application package Pick One: -t --ant: Build with ant -k
--makefiles: Build with make -n --none: Create own buildsystem Pick One: -g --gcj: Build with gcj -d --default: Build with default
free compiler -o --openjdk: Build with OpenJDK 6 -o7 --openjdk7: Build with OpenJDK 7
Environment Variables:
DEBEMAIL: Default maintainer email address EMAIL: Default maintainer email address DEBFULLNAME: Default maintainer name NAME:
Default maintainer name
Javahelper Version 0.5 January 2008 JAVAHELPER(1)