fabrice régnier a écrit :
salut la liste,
L'expression régulière que je passe à grep ne lui plait pas. Mais je ne
vois pas mon erreur. Pour moi, il devrait me sortir
1234567890;01;02;12/06/2010;
C'est à dire que je recherche les lignes qui commencent par un numérique
avec de 4 à 12
Le Thu, 14 Jan 2010 17:12:38 +0100,
fabrice régnier regnier@free.fr a écrit :
salut la liste,
L'expression régulière que je passe à grep ne lui plait pas. Mais je
ne vois pas mon erreur. Pour moi, il devrait me sortir
1234567890;01;02;12/06/2010;
C'est à dire que je recherche les
On Thu, Jan 14, 2010 at 05:12:38PM +0100, fabrice régnier wrote:
FR-PORT:/tmp# grep ^[0-9]{4,12}; toto
Problème de dialecte:
$ grep ^[0-9]\{4,12\}; toto
1234567890;01;02;12/06/2010;
Y.
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists
Pour vous
On Sun, Nov 29, 2009 at 11:14:58AM +0200, Dotan Cohen wrote:
2009/11/29 Andrew Sackville-West and...@farwestbilliards.com:
On Sun, Nov 29, 2009 at 01:22:15AM +0200, Dotan Cohen wrote:
will get the ones that start with capital alphas. if you want initial
caps *only* then:
grep ^[A-Z
On Sat, Nov 28, 2009 at 7:13 AM, Dotan Cohen dotanco...@gmail.com wrote:
I have a long binary file (about 12 MB) that I need to extract the
text from via strings. Naturally, there are a lot of junk lines such
as these:
pDuf
#k0H}g)
GoV5
rLeY1
TMlq,*
Is there a way to grep the output
On Sun, Nov 29, 2009 at 01:22:15AM +0200, Dotan Cohen wrote:
will get the ones that start with capital alphas. if you want initial
caps *only* then:
grep ^[A-Z][a-z]*$
would match those.
Thanks. I meant that caps could only be at the beginning of a word,
not in the middle
2009/11/29 Andrew Sackville-West and...@farwestbilliards.com:
On Sun, Nov 29, 2009 at 01:22:15AM +0200, Dotan Cohen wrote:
will get the ones that start with capital alphas. if you want initial
caps *only* then:
grep ^[A-Z][a-z]*$
would match those.
Thanks. I meant that caps could
Dotan Cohen wrote:
This means that only words that start with a caps are valid. I need
can start with a caps, but caps can be nowhere else. I got that like
this:
grep ^[A-Za-z][a-z]*$
However I think that there is a better way.
This is a good exercise. I am bettering my regex skills
I have a long binary file (about 12 MB) that I need to extract the
text from via strings. Naturally, there are a lot of junk lines such
as these:
pDuf
#k0H}g)
GoV5
rLeY1
TMlq,*
Is there a way to grep the output of strings in order to only show
lines that contain words found in the aspell
In 880dece00911280713n6193b8das6970e8a071fc2...@mail.gmail.com, Dotan Cohen
wrote:
Is there a way to grep the output of strings in order to only show
lines that contain words found in the aspell dictionary? Thanks in
advance.
I once wrote a small program against the aspell API to do something
On Sat, Nov 28, 2009 at 11:32:59AM -0600, Boyd Stephen Smith Jr. wrote:
In 880dece00911280713n6193b8das6970e8a071fc2...@mail.gmail.com, Dotan Cohen
wrote:
Is there a way to grep the output of strings in order to only show
lines that contain words found in the aspell dictionary? Thanks
ISTM that because the output of strings is not discrete list of
potential words, but is instead a long list of concatenated
characters, this problem is really rather daunting. The output should
probably be first broken up into something resembling words by perhaps
breaking on non-alphabetic
On Saturday 28 November 2009 16:13:55 Dotan Cohen wrote:
I have a long binary file (about 12 MB) that I need to extract the
text from via strings. Naturally, there are a lot of junk lines
such as these:
pDuf
#k0H}g)
GoV5
rLeY1
TMlq,*
Is there a way to grep the output of strings
and inserts a newline to make each a
separate line. or leave out the '\n' to leave the line structure as
it is. Then you can grep with something like:
grep ^[A-Z]
will get the ones that start with capital alphas. if you want initial
caps *only* then:
grep ^[A-Z][a-z]*$
would match those.
I'm sure
will get the ones that start with capital alphas. if you want initial
caps *only* then:
grep ^[A-Z][a-z]*$
would match those.
Thanks. I meant that caps could only be at the beginning of a word,
not in the middle. Expanding your example, I figured that would be:
grep ^[A-Z]?[a-z]*$ // note
On Sun, Nov 29, 2009 at 01:22:15AM +0200, Dotan Cohen wrote:
will get the ones that start with capital alphas. if you want initial
caps *only* then:
grep ^[A-Z][a-z]*$
would match those.
Thanks. I meant that caps could only be at the beginning of a word,
not in the middle
Dotan writes:
Is there a way to grep the output of strings in order to only show
lines that contain words found in the aspell dictionary?
Try this:
#!/bin/bash
strings $1 | while read line
do
if [ ` echo $line | sed -e 's/[^a-zA-Z ]//g' | wc -m` -lt 6 ]
then
continue
fi
echo $line | sed -e
Hi,
is it true that this call `dpkg-query -W -f='${Conffiles}\n' | grep obsolete`
show all obsolate files which can be removed ?
I read about this at http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
while upgrading sysv-rc for dependency booting.
My script to detect obsolate files
Hello,
thanks for your suggestions. I'm afraid grep was designed as text-oriented tool.
I'm not sure how it will handle CR and/or LF characters when matching
pattern. IIRC grep has no multiline patterns, so it could basically
fail.
I guess it would suit 95% of my needs, I'm just trying
On Sat, Sep 19, 2009 at 12:40 PM, Rob Gom rgom.deb...@gmail.com wrote:
Hello,
thanks for your suggestions. I'm afraid grep was designed as text-oriented
tool.
I'm not sure how it will handle CR and/or LF characters when matching
pattern. IIRC grep has no multiline patterns, so it could
Hello,
are you aware of a tool, which would allow me to search for given
pattern in a binary file, then at least output file position (so that
I could pass the number to dd) or output next few bytes?
For text files I use e.g .grep (grep -A 3 file pattern to output 3
lines after match). I would
Hi, Rob:
On Friday 18 September 2009 16:55:37 Rob Gom wrote:
Hello,
are you aware of a tool, which would allow me to search for given
pattern in a binary file, then at least output file position (so that
I could pass the number to dd) or output next few bytes?
For text files I use e.g .grep
I like to offend midgets. Can we do that now? Just a few small jokes?
I'd prefer if you do a Jew joke! I'll do my best not to get offended.
Anybody else volunteer for humiliation?
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIBE, email to
On Jul 6, 2009, at 2:30 AM, Dotan Cohen wrote:
I like to offend midgets. Can we do that now? Just a few small jokes?
I'd prefer if you do a Jew joke! I'll do my best not to get offended.
Anybody else volunteer for humiliation?
I'm a Trekkie.
Unfortunately, I don't live in my Mother's
On Mon, 6 Jul 2009 09:30:34 +0300
Dotan Cohen dotanco...@gmail.com wrote:
I'd prefer if you do a Jew joke! I'll do my best not to get offended.
Anybody else volunteer for humiliation?
Little Jewish boy asks his father for thirty dollars. Dad says, Twenty
dollars! Why do you need ten dollars?
On Mon, 6 Jul 2009, Dotan Cohen wrote:
I like to offend midgets. Can we do that now? Just a few small jokes?
I'd prefer if you do a Jew joke! I'll do my best not to get offended.
You might not but I might send Moishe the Shtarker to push a button
on him. Thin skinned? Yup!
--
Bob
On Jul 5, 2009, at 1:50 AM, Rustam wrote:
On Sun, 2009-07-05 at 00:33 +0300, Dotan Cohen wrote:
...
[snip]
...
haha :) well, i know some might think this thread is offended, some
might just delete. the truth is this is OT. but despite that, let me
post my first reply to this:
It doesn't
haha :D it doesn't work too. can we make linux more human ?
Then it'd be called a Mac.
Fanboy! Human is the Ubuntu colour/icon scheme!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of
On Jul 5, 2009, at 2:32 AM, Dotan Cohen wrote:
haha :D it doesn't work too. can we make linux more human ?
Then it'd be called a Mac.
Fanboy! Human is the Ubuntu colour/icon scheme!
Fanboy! Ubuntu is Debian Sid Lite pretending to be some other OS and
GUI.
Hal
--
To UNSUBSCRIBE,
On Sun, 2009-07-05 at 02:37 -0400, Hal Vaughan wrote:
On Jul 5, 2009, at 2:32 AM, Dotan Cohen wrote:
haha :D it doesn't work too. can we make linux more human ?
Then it'd be called a Mac.
Fanboy! Human is the Ubuntu colour/icon scheme!
i mean human as human being. not jargon nor
On Sun, 5 Jul 2009 02:37:32 -0400
Hal Vaughan h...@halblog.com wrote:
Ubuntu is Debian Sid Lite pretending to be some other OS and
GUI.
Hal
Debian Sid is using upstart now? What, only an option? Which is lite
again?
Cybe R. Wizard
--
There is absolutely no substitute for a complete
On 5 Jul 2009, at 09:32, Cybe R. Wizard
cybe_r_wiz...@earthlink.net wrote:
On Sun, 5 Jul 2009 02:37:32 -0400
Hal Vaughan h...@halblog.com wrote:
Ubuntu is Debian Sid Lite pretending to be some other OS and
GUI.
Hal
Debian Sid is using upstart now? What, only an option? Which is lite
Tyler please contact me regarding Yi support.
Thanks,
Michael McGlothlin
On Jul 4, 2009, at 3:20 PM, Tyler MacDonald ty...@yi.org wrote:
Lisi Reisz lisi.re...@gmail.com wrote:
...unless there might still be some women somewhere on Usenet.
alias woman locate; talk; date; uptime; gawk; head;
Fanboy! Human is the Ubuntu colour/icon scheme!
Fanboy! Ubuntu is Debian Sid Lite pretending to be some other OS and GUI.
Whosh!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with
On Sun, 5 Jul 2009 11:00:31 +0100
Harry Rickards hricka...@l33tmyst.com wrote:
Also, regarding the women wanting this thread to stop being
offensive to them, it's probably only encouraged some people. Why
not create a thread that offends/embarrases all the guys on the
list?
I wonder how long
Raquel wrote:
On Sun, 5 Jul 2009 11:00:31 +0100
Harry Rickards hricka...@l33tmyst.com wrote:
Also, regarding the women wanting this thread to stop being
offensive to them, it's probably only encouraged some people. Why
not create a thread that offends/embarrases all the guys on the
list?
I
And all of this for a fanatical bird watcher. The correct command is
curl http://www.geo.cornell.edu/geology/GalapagosWWW/BlueFoot.html; |
grep boobies
% Total% Received % Xferd Average Speed TimeTime Time
Current
Dload Upload Total Spent
And all of this for a fanatical bird watcher. I will help you with the
correct command. It is:
curl http://www.geo.cornell.edu/geology/GalapagosWWW/BlueFoot.html; |
grep boobies
which returns:
% Total% Received % Xferd Average Speed TimeTime Time
Current
It's too bad that some people are so thin-skinned that a word like boobies
upsets them. It's not like we're talking about raping someone, for
instance.
Now I'm really offended. The thread stops here.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIBE, email
And all of this for a fanatical bird watcher. The correct command is
You cannot be serious! Any fanatical bid watcher would naturally
prefer to see Great Tits:
http://en.wikipedia.org/wiki/Great_tits
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIBE, email to
On Jul 5, 2009, at 1:55 PM, Dotan Cohen wrote:
It's too bad that some people are so thin-skinned that a word like
boobies
upsets them. It's not like we're talking about raping someone, for
instance.
Now I'm really offended. The thread stops here.
And now we know the thread will go on
I like to offend midgets. Can we do that now? Just a few small jokes?
Thanks,
Michael McGlothlin
On Jul 5, 2009, at 5:45 AM, Raquel raq...@thericehouse.net wrote:
On Sun, 5 Jul 2009 11:00:31 +0100
Harry Rickards hricka...@l33tmyst.com wrote:
Also, regarding the women wanting this thread to
On Sun, Jun 28, 2009 at 08:47:09AM -0500, Nate Bargmann wrote:
* Comcast Master Account elizabethmusb...@comcast.net [2009 Jun 27 15:05
-0500]:
hi i want boobies so i try grep some boobies but command not work how
i get boobies thx
I guess that if you can't grep any boobies
On Sat, 4 Jul 2009 21:44:51 +1200
Chris Bannister mockingb...@earthlight.co.nz wrote:
On Sun, Jun 28, 2009 at 08:47:09AM -0500, Nate Bargmann wrote:
* Comcast Master Account elizabethmusb...@comcast.net [2009 Jun
27 15:05 -0500]:
hi i want boobies so i try grep some boobies but command
$ sudo apt-get install woman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package woman
$
Oh, oh. Out of luck, I'd guess.
...unless there might still be some women somewhere on Usenet.
alias woman locate; talk; date;
On Saturday 04 July 2009 20:33:14 Dotan Cohen wrote:
$ sudo apt-get install woman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package woman
$
Oh, oh. Out of luck, I'd guess.
...unless there might still be some women
Lisi Reisz lisi.re...@gmail.com wrote:
...unless there might still be some women somewhere on Usenet.
alias woman locate; talk; date; uptime; gawk; head; clean; sleep
And then they wonder why some women find IT a hostile area
Seriously, there are female readers of this list.
boobies so i try grep some boobies but command not work
how i get boobies thx
I guess that if you can't grep any boobies, then the following
commands will be difficult to invoke:
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck,
fsck, fsck, umount, sleep
$ man woman
No manual
...unless there might still be some women somewhere on Usenet.
alias woman locate; talk; date; uptime; gawk; head; clean; sleep
And then they wonder why some women find IT a hostile area
Seriously, there are female readers of this list. Could we at least pretend
that the rest of
Tyler MacDonald wrote:
Lisi Reisz lisi.re...@gmail.com wrote:
...unless there might still be some women somewhere on Usenet.
alias woman locate; talk; date; uptime; gawk; head; clean; sleep
And then they wonder why some women find IT a hostile area
Seriously, there
Tyler MacDonald wrote:
Lisi Reisz lisi.re...@gmail.com wrote:
...unless there might still be some women somewhere on Usenet.
alias woman locate; talk; date; uptime; gawk; head; clean; sleep
And then they wonder why some women find IT a hostile area
Seriously, there are female readers of
I don't think she cares if _you're_ offended or not, she's asking nicely if
you'll stop because it does bother some people. Your feelings on the issue are
totally irrelevant, since you have no experience being constantly treated like
an object of someone's infantile desires, in the media, in
On Jul 4, 2009, at 5:07 PM, Lisi Reisz wrote:
On Saturday 04 July 2009 20:33:14 Dotan Cohen wrote:
$ sudo apt-get install woman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package woman
$
Oh, oh. Out of luck, I'd guess.
* Lisi Reisz lisi.re...@gmail.com [2009 Jul 04 16:10 -0500]:
On Saturday 04 July 2009 20:33:14 Dotan Cohen wrote:
$ sudo apt-get install woman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package woman
$
Oh, oh.
On Jul 4, 2009, at 8:43 PM, Nate Bargmann wrote:
* Lisi Reisz lisi.re...@gmail.com [2009 Jul 04 16:10 -0500]:
On Saturday 04 July 2009 20:33:14 Dotan Cohen wrote:
$ sudo apt-get install woman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't
On Sat, Jul 04, 2009 at 09:21:58PM EDT, Hal Vaughan wrote:
Streisand effect, especially known to be prevalent on Debian-User. Or, as
Hal's Law states: The surest way to make sure a thread continues ad
nauseam on Debian-User is to give even the slightest suggestion it may be
off-topic.
That's how I interpreted all of this, nor did I feel any of the people
here were objectifying women (or even geeks, though they were the target
of the humour). It did lead to an interesting debate I've recently
finished about how individuals often read into such statements false
intentionality
On Sun, 2009-07-05 at 00:33 +0300, Dotan Cohen wrote:
...
[snip]
...
haha :) well, i know some might think this thread is offended, some
might just delete. the truth is this is OT. but despite that, let me
post my first reply to this:
It doesn't work that way, I've been trying for ages!
In 20090628094255.ga12...@freenet.de, Michelle Konzack wrote:
Am 2009-06-28 11:39:55, schrieb Soren Orel:
I can /dev/null the error messages like:
cd $1 2 /dev/null
e.g.: I get error If $1 has spaces in it
Ok, but how can I grep the error message? I tried:
if cd $1 2 grep -i No such file
In 20090628141815.gm2...@pear.tzafrir.org.il, Tzafrir Cohen wrote:
On Sun, Jun 28, 2009 at 11:42:58AM +0200, Michelle Konzack wrote:
But I would prefer something like:
if [ $(cd $1) -ne 0 ]
then echo badbadbad ; exit 1
fi
Note that this runs the 'cd' command in a
I can /dev/null the error messages like:
cd $1 2 /dev/null
e.g.: I get error If $1 has spaces in it
Ok, but how can I grep the error message? I tried:
if cd $1 2 grep -i No such file or directory; then echo badbadbad;
exit; fi
But it doesn't work :S
thank you!
Am 2009-06-28 11:39:55, schrieb Soren Orel:
I can /dev/null the error messages like:
cd $1 2 /dev/null
e.g.: I get error If $1 has spaces in it
Ok, but how can I grep the error message? I tried:
if cd $1 2 grep -i No such file or directory; then echo badbadbad;
exit; fi
Hi,
how about:
cd $1
if [ $? != '0' ]; then
echo damn.
exit;
fi
greetings,
vitaminx
2009/6/28 Soren Orel soren.o...@gmail.com
I can /dev/null the error messages like:
cd $1 2 /dev/null
e.g.: I get error If $1 has spaces in it
Ok, but how can I grep the error message? I tried
error If $1 has spaces in it
Ok, but how can I grep the error message? I tried:
if cd $1 2 grep -i No such file or directory; then echo badbadbad;
exit; fi
But it doesn't work :S
thank you!
--
www ... http://www.callistix.net/
mail ... vitam...@callistix.net
irc ... #chezpaeule
Am 2009-06-28 11:48:54, schrieb me:
hehe, answered at the same time :D
=8O
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
25.9V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter,
Even so, I still have to say Get a grep on yourself. :)
That was really awkward but I guess it had to be sed.
thatwasbad!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble
, but how can I grep the error message? I tried:
if cd $1 2 grep -i No such file or directory; then echo badbadbad;
exit; fi
But it doesn't work :S
thank you!
* Comcast Master Account elizabethmusb...@comcast.net [2009 Jun 27 15:05
-0500]:
hi i want boobies so i try grep some boobies but command not work how
i get boobies thx
I guess that if you can't grep any boobies, then the following commands
will be difficult to invoke:
unzip, strip, touch
On Sun, Jun 28, 2009 at 11:42:58AM +0200, Michelle Konzack wrote:
But I would prefer something like:
if [ $(cd $1) -ne 0 ]
then echo badbadbad ; exit 1
fi
Note that this runs the 'cd' command in a subdirectory, and thus it has
no effect on the parent process.
And then
Hi,
On Sun, Jun 28, 2009 at 11:39:55AM +0200, Soren Orel wrote:
I can /dev/null the error messages like:
cd $1 2 /dev/null
2 will redirect to a file /dev/null
e.g.: I get error If $1 has spaces in it
Ok, but how can I grep the error message? I tried:
if cd $1 2 grep -i No such file
final solution:
if ! cd $1; then echo error; exit 1; fi
thank you!
hi i want boobies so i try grep some boobies but command not work how
i get boobies thx
--
Best Regards,
John Musbach
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
On Sat, 27 Jun 2009 16:01:35 -0400
Comcast Master Account elizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not work how
i get boobies thx
Ahhh... to be young and stupid once again.
Wonder if Mom Liz would find this funny.
--
Best regards,
Chris
I apologize, I had a virus on my computer and it was doing all kinds
of weird stuff. Sorry!
On Sat, Jun 27, 2009 at 4:01 PM, Comcast Master
Accountelizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not work how
i get boobies thx
--
Best Regards
grep some boobies but command not work
how i get boobies thx
--
Best Regards,
John Musbach
This might be a good time to consider Linux?!
--
Best regards,
Chris
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
On Sat, Jun 27, 2009 at 1:34 PM, John Musbach johnmusba...@gmail.comwrote:
I apologize, I had a virus on my computer and it was doing all kinds
of weird stuff. Sorry!
On Sat, Jun 27, 2009 at 4:01 PM, Comcast Master
Accountelizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep
On Sat, 27 Jun 2009 13:53:26 -0700
Scarletdown scarletd...@gmail.com wrote:
Hello Scarletdown,
Even so, I still have to say Get a grep on yourself. :)
But the money's no good.
:-)
--
Regards _
/ ) The blindingly obvious is
/ _)radnever immediately
Master
Accountelizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not work
how i get boobies thx
Even so, I still have to say Get a grep on yourself. :)
That was really awkward but I guess it had to be sed.
Cybe R. Wizard
--
gawk; talk; nice
This might be a good time to consider Linux?!
It's made my boobie grepping better! Linux that is...
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
and it was doing all
kinds of weird stuff. Sorry!
On Sat, Jun 27, 2009 at 4:01 PM, Comcast Master
Accountelizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not
work how i get boobies thx
Even so, I still have to say Get a grep
...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not work
how
i get boobies thx
Even so, I still have to say Get a grep on yourself. :)
Is a text processing tool really the most appropriate tool for this job?
Hal
--
To UNSUBSCRIBE, email to debian-user-requ
...@gmail.comwrote:
I apologize, I had a virus on my computer and it was doing all
kinds of weird stuff. Sorry!
On Sat, Jun 27, 2009 at 4:01 PM, Comcast Master
Accountelizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not
work how i get
Accountelizabethmusb...@comcast.net wrote:
hi i want boobies so i try grep some boobies but command not work how
i get boobies thx
Even so, I still have to say Get a grep on yourself. :)
Is a text processing tool really the most appropriate tool for this job?
I dunno, but this conversation
I tried a command line like: grep -in print-installation-architecture *
| less cr and got me a surprise. I was in /var/lib/dpkg/info when I did
this and was curious to know what other scripts might have that deprecated
command in them. Grep responded with an undocumented error of argument
rgrep throws the same argument list too long error as did grep.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Apparently argument list too long is an operating system error. I made it
happen with ed too. I can divide and conquer though by limiting argument
lists with regular expressions in this case.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe.
On Sat, Jun 6, 2009 at 8:57 AM, Jude DaShielljdash...@shellworld.net wrote:
I tried a command line like: grep -in print-installation-architecture * |
less cr and got me a surprise. I was in /var/lib/dpkg/info when I did
I don't think this is a bug at all. When you do the command, the shell
On Sat, Jun 6, 2009 at 9:32 AM, Jude DaShielljdash...@shellworld.net wrote:
Apparently argument list too long is an operating system error. I made it
happen with ed too. I can divide and conquer though by limiting argument
lists with regular expressions in this case.
That's always an option,
On Sat, Jun 06, 2009 at 12:01:35 -0400, Jude DaShiell wrote:
rgrep throws the same argument list too long error as did grep.
http://www.linuxjournal.com/article/6060
--
Regards,| http://users.icfo.es/Florian.Kulzer
Florian |
--
To UNSUBSCRIBE, email to debian-user
On Sat, Jun 06, 2009 at 11:57:56AM -0400, Jude DaShiell wrote:
I tried a command line like: grep -in print-installation-architecture *
| less cr and got me a surprise. I was in /var/lib/dpkg/info when I
did this and was curious to know what other scripts might have that
deprecated command
Interesting! I was one with wrong idea for the root cause.
On Sat, Jun 06, 2009 at 07:49:18PM +0200, Florian Kulzer wrote:
On Sat, Jun 06, 2009 at 12:01:35 -0400, Jude DaShiell wrote:
rgrep throws the same argument list too long error as did grep.
http://www.linuxjournal.com/article/6060
On Sat, 6 Jun 2009, Jude DaShiell wrote:
Apparently argument list too long is an operating system error. I
made it happen with ed too. I can divide and conquer though by
limiting argument lists with regular expressions in this case.
Does `find . -name REGEXP -exec COMMAND` help? See man
comando pueda obtener las líneas en
las que están cualquiera de las dos palabras: casa o Pedro. Como salida,
tendría que obtener: la casa se encuentra en el campo Pedro está ahí
egrep Pedro\|casa texto
Creo que en el man de grep viene una opción -e que es la que andas
buscando
grep -e kk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
fernando sainz escribió:
El día 7 de mayo de 2009 19:41, Roberto Alsina
rals...@netmanagers.com.ar escribió:
Néstor Flores writes:
Creo que en el man de grep viene una opción -e que es la que andas
buscando
grep -e kk -e lll fichero.txt
El Thu, 07 May 2009 14:41:33 -0300
Roberto Alsina rals...@netmanagers.com.ar escribió:
Néstor Flores writes:
Supónganse que tengo el archivo texto. Que tiene lo siguiente:
la casa se encuentra en el campo
el campo esta en Paraná
Pedro está ahí
Santa Fe está lejos
Néstor Flores writes:
Supónganse que tengo el archivo texto. Que tiene lo siguiente:
la casa se encuentra en el campo
el campo esta en Paraná
Pedro está ahí
Santa Fe está lejos
Bueno, quiero que con un comando pueda obtener las líneas en las que están
cualquiera de las dos palabras:
On 2009-03-29 02:54, Celejar wrote:
On Sun, 29 Mar 2009 00:49:55 -0500
Ron Johnson ron.l.john...@cox.net wrote:
...
$ cat .muttrc | grep imap
Superfluous use of cat.
$ grep .muttrc imap
$ grep .muttrc imap
grep: imap: No such file or directory
$ grep imap .muttrc
set imap_user=me
set
Thanks for all of your replies.
I didn't know that tools such as tracker would search with openoffice
document.
With respect to the command line, I have fixed on
find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep
string-being sought /dev/null' \; -print
but it returns immediately
John O Laoi schrieb:
find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep
string-being sought /dev/null' \; -print
For me it works . Maybe you should quote *.odt: '*.odt'. And try just
find . -name *.odt
to see if the odt files are found.
Rainer
--
To UNSUBSCRIBE, email
{} content.xml | grep
string-being sought /dev/null' \; -print
I think I'd rewrite it as:
find . \
-name '*.odt' \
-exec sh -c 'unzip -c $1 content.xml | grep -q regex' \{} \; \
-print
I'm not sure what the rules are for find substituting {} within another
argument, so it seems best to write
201 - 300 of 1159 matches
Mail list logo