hey guys this is my first post here, heard a lot about these forums. Iam urgently in need of a command which would help me accomplish the following , for example a file has these contents:
211 61 2007-06-26 13:47:32
211 61 2007-06-26 09:53:43
211 61 2007-06-26 15:25:14
211 61 2007-06-26... (5 Replies)
Hi,
I want to use egrep to match this expression in my file. The expression begins with the word SCHEDULE and ends with PFTDGNIN. In between these 2 words there can be anything.
EX: Line1: SCHEDULE NWERRR#PFTDGNIN
Line2: FOLLOWS NWD@AAS#PFTDGNIN
So as a result of the egrep command... (1 Reply)
I'm new to egrep. What pattern could I use to find all lines that match this pattern: <beginning of line><any amount of whitespace>sub<space>. I want it to return the entire line.
(I'm trying to generate a list of all Perl sub definitions in a list of Perl modules.)
Thanks for your help! (7 Replies)
Hi
I need to look for the range dates of access_log for example:
between 02/May/2009:14:56:20 and 05/May/2009:18:46:06
then write the content to another file. Date and time is very important for me to concatenate them into access_log later.
Thanks (2 Replies)
This is my first post, please be nice. I have tried to google and read different tutorials.
The task at hand is:
Input file input.txt (example)
abc123defhij-E-1234jslo
456ujs-W-abXjklp
From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
I am working on a scraping project and I am stuck at this tiny grep pattern match.
Sample text :
FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. FPA List.
ABC Personal Planning
Catherine K. Wat
Cath Wat
Catherine K. Wat
Catherine K. Wat
IFRAME:... (8 Replies)
Hi All,
Please i need to know the difference between grep, egrep & grep -i when used to serach through a file.
My platform is SunOS 5.9 & i'm using the korn shell.
Regards,
- divroro12 - (2 Replies)
Hi,
I need advice on a simiple pattern check,
Orginal Code
bpimagelist -backupid xxxxxxxxxxxxx | grep "FRAG " | egrep -i "C5|W5" | awk 'NR==1{print $2,$9}
1 MAC514
What i want is to find any media beinging with C5|W5. I have tried ^C5|^W5, but this does not work.
Removed... (3 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
I have this fileA
TEST FILE ABC
this file contains ABC;
TEST FILE DGHT this file contains DGHT;
TEST FILE 123
this file contains ABC,
this file contains DEF,
this file contains XYZ,
this file contains KLM
;
I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies
LEARN ABOUT DEBIAN
pbuilder-uml.conf
pbuilder-uml.conf(5) pbuilder pbuilder-uml.conf(5)NAME
pbuilder-uml.conf - configuration file for user-mode-linux port of pbuilder
DESCRIPTION
/etc/pbuilder/pbuilder-uml.conf contains default values used in pbuilder-user-mode-linux program invocation.
FORMAT
MY_ETH0=tuntap,,,192.168.0.2
Configures ethernet setting used for booting linux. See how rootstrap boots your system, and copy that.
Specify --eth0=slirp,12345,/usr/bin/slirp-fullbolt to use the slirp connection.
UML_IP=192.168.0.3
IP address to use for guest OS.
This can be set to dhcp for obtaining IP address through DHCP.
UML_NETMASK=255.255.255.0
Guest OS netmask
UML_NETWORK=192.168.0.0
Guest OS network
UML_BROADCAST=255.255.255.255
Guest OS broadcast
UML_GATEWAY=192.168.0.1
Guest OS gateway
PBUILDER_UML_IMAGE=${HOME}/uml-image
Guest OS file system image.
UML_MOUNT_TMPFS=no
Whether to mount tmpfs inside the guest image. This is probably mostly useless.
BUILDPLACE=${HOME}/tmp/
The location which build will take place. pbuilder-user-mode-linux will place temporary COW files to there. The user running UML
needs to be able to access that directory.
UML_MEM=128
The amount of memory allowed for UML. Give more value to here.
UML_HOSTNAME=uml-host
The hostname for the UML.
The hostname should be available in /etc/hosts so that hostname -f will be able to return the FQDN.
UML_BUILDRESULT=/directory/of/build/result
The directory where build result of pbuilder-user-mode-linux is stored.
ROOTSTRAP_IMAGESIZE=size-in-megabytes
The size, in MB, of the disk iamge to create. Defaults to 1000.
NOTES
It is advised to set APTCACHEHARDLINK to no in ~/.pbuilderrc. see pbuilderrc(5) for details.
AUTHOR
Initial coding, and main maintenance is done by Junichi Uekawa <dancer@debian.org>.
The homepage is available at http://pbuilder.alioth.debian.org
FILES
/etc/pbuilder/pbuilder-uml.conf, ${HOME}/.pbuilderrc
SEE ALSO
/usr/share/doc/pbuilder/pbuilder-doc.html, pbuilder-user-mode-linux(1), pbuilder(8), pbuilderrc(5), pdebuild(1)Debian 2003 Jan 8 pbuilder-uml.conf(5)