Sort files by filename
by Mark Haney
This is really a general linux question. I have a series of files in a
format like this:
XXXX20070515_112011_942_10.bz2
XXXX20070515_112011_942_12.bz2 etc,
and I am trying to find a way to do 2 things, one, sort these files in
order, and then once in order, find the files that are numerically
missing based on the last 2 numbers in the file name. So if I have (as
above I want to know that file XXXX20070515_112011_942_11.bz2 is
missing. Can someone get me started on this, I'm stumped.
--
Recedite, plebes! Gero rem imperialem!
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
16 years, 9 months
Re: New Kernel still bad
by Antonio Olivares
I am replying to this as yahoo mail beta wants. Sorry for "TOP POSTING". I am looking through options. I have added a signature which is below. Thanks Vivek, Rahul, and Mikkel which have pointed this out. I have to find a way or just use Konqueror to reply to the messages.
Regards,
Antonio
Linux Counter # 381662
http://counter.li.org
Home Page(s):
http://www20.brinkster.com/olivares/
http://www.geocities.com/olivares14031/
----- Original Message ----
From: Vivek J. Patankar <list307(a)gmail.com>
To: For users of Fedora <fedora-list(a)redhat.com>
Sent: Wednesday, August 1, 2007 4:21:19 PM
Subject: Re: New Kernel still bad
Antonio Olivares wrote:
> ----- Original Message ----
> From: Rahul Sundaram <sundaram(a)fedoraproject.org>
> To: For users of Fedora <fedora-list(a)redhat.com>
> Sent: Wednesday, August 1, 2007 3:40:52 PM
> Subject: Re: New Kernel still bad
>
> Antonio Olivares wrote:
>
> Your mails always end up below signatures mildly invisible making it
> difficult to quote but the kernel spec has been changing to follow the
> Fedora packaging guidelines.
>
> You can read up on the changes in fedora-kernel list.
>
> Rahul
>
> I am responding to this message now in "Yahoo Mail Beta", which BTW encourages for me to "TOP POST". I am removing the "---" in the bottom of the message and removing the previous signature(s) from fedora list. Is this any better than before, or do I have to use Konqueror to send mails from yahoo to the list? Any suggestions?
>
> Regards,
>
> Antonio
This one is better in the sense that text written by you is not greyed
out. But as you can see from my quote above, it is difficult to
understand at a glance where Rahul's mail ends and your mail starts.
--
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)
Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.1-33.fc7 x86_64
My USB drives automount! :p
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
16 years, 9 months
Re: New Kernel still bad
by Antonio Olivares
----- Original Message ----
From: Karl Larsen <k5di(a)zianet.com>
To: For users of Fedora <fedora-list(a)redhat.com>
Sent: Wednesday, August 1, 2007 1:39:55 PM
Subject: Re: New Kernel still bad
Aaron Konstam wrote:
> On Wed, 2007-08-01 at 14:40 +0100, Andy Green wrote:
>> Somebody in the thread at some point said:
>>
>>> I never had the issues that Karl states (plugging in the USB drive and,
>>> not have it auto-mount, not have it list the contense).
>>>
>>> I too use F7 on each device - at this point, one must wonder what it is
>>> that either Karl is doing wrong OR, what type/old is the hardware?
>>>
>>> It's just odd (to me at least) that nearly-everything Karl seems to do
>>> - fails.
>> That doesn't seem to be a fair summary. In Bugzilla for example
>>
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=249161
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=249282
>>
>> Plenty of folks are having the same problem. It's not Karl's fault that
>> there are problems in the kernel right now.
>>
>> BTW on that last bugzilla, they recommend trying udev-113-8.fc7 to fix
>> the problem: I was able to get this with
>>
>> yum --enablerepo=updates-testing update udev
>>
>> -Andy
> Confusion reigns. Both the bugzillas above are about kernel-2.6.22-27
> and Karl is complaining about kernel-2.6.22-42.
>
> My memory stick automounts on the latter so there must be a presumption
> that the problem lies in the hardware used assuming no odd software
> installations of udev are involved.
>
> It is hard to believe that sticking the memory stick into the port could
> be done incorrectly, but who knows.
I am mad that some think I am so STUPID that for 6 months I have used
my memory stick with the old kernel, and stuck it in wrong when I first
used the new kernel. Jeeze you IDIOTS! Grow up.
What I was going to do is explain what happened this morning. I got not
the 44 but the 41 kernel when I tried to get the 44. I guess yum could
not find the 44 and did the best it could. So I rebooted to the 41
kernel and sure enough it will not work with a USB device. But I tried a
memory stick that you plug into the proper slot and it worked perfect!
So what I have is a cheap thing about the size of a floppy drive at the
front panel which plugs into one of the two USB things on the mother
board. It has 5 slots for various memeory sticks from camera and cell
phone and other things. With this kernel (41) the 5 slots work but the
one USB on this devise does not work.
I am sure there is something not quite right with my computer. But for
sure with the old kernel it DID WORK.
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
--
Karl,
> What I was going to do is explain what happened this morning. I got not
> the 44 but the 41 kernel when I tried to get the 44. I guess yum could
> not find the 44 and did the best it could. So I rebooted to the 41
> kernel and sure enough it will not work with a USB device. But I tried a
> memory stick that you plug into the proper slot and it worked perfect!
<joke on>
yum could not find the 44, sometimes I would like to find a "44", a 44 Magnum like the one Clint Eastwood uses and said "Go ahead make my day" to correct some issues with yum.
<joke off>
Nonetheless, as mentioned in the threads. The fix is to update udev to
udev-113-8.fc7
which should be pushed into updates as Rahul has suggested. We wait a little bit and put this issue behind us.
I am wondering/intrigued about the kernel names from
2.6.21-1-3194.fc7
2.6.21-1.3228.fc7
which are old names to the new ones
2.6.22.1-27.fc7
2.6.22.1-33.fc7
Is there a place to read about the fedora kernel naming?
Regards,
Antonio
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
16 years, 9 months
Re: New Kernel still bad
by Antonio Olivares
----- Original Message ----
From: Rahul Sundaram <sundaram(a)fedoraproject.org>
To: For users of Fedora <fedora-list(a)redhat.com>
Sent: Wednesday, August 1, 2007 3:40:52 PM
Subject: Re: New Kernel still bad
Antonio Olivares wrote:
>
Your mails always end up below signatures mildly invisible making it
difficult to quote but the kernel spec has been changing to follow the
Fedora packaging guidelines.
You can read up on the changes in fedora-kernel list.
Rahul
I am responding to this message now in "Yahoo Mail Beta", which BTW encourages for me to "TOP POST". I am removing the "---" in the bottom of the message and removing the previous signature(s) from fedora list. Is this any better than before, or do I have to use Konqueror to send mails from yahoo to the list? Any suggestions?
Regards,
Antonio
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
16 years, 9 months
kernel-2.6.21-1.3228.fc7-i686]
by Karl Larsen
When I yummed the 41 kernel it removed the subject kernel. I still have
the kernel tree for this version and I tried to yum the rpm but no joy.
Can I just do make clean, make, and make install on the tree? If not
where do I find this kernel?
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
16 years, 9 months
Re: Freware Mp3 to Wav converter recomendations?
by Antonio Olivares
----- Original Message ----
From: Daniel B. Thurman <dant(a)cdkkt.com>
To: Fedora-List (E-mail) <fedora-list(a)redhat.com>
Sent: Wednesday, August 1, 2007 3:36:43 PM
Subject: Freware Mp3 to Wav converter recomendations?
Can anyone recommend a good freeware MP3 to Wav converter for Fedora?
Thanks.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 7/31/2007 5:26 PM
--
I can recommend mp32wav from
http://wiki.linuxquestions.org/wiki/Audio_conversion
The requirements are that you have mpg123 and sox. You can also use Mplayer with pcm output and convert each one individually or write your own script Like the one I use sometimes
#!/bin/bash
#
# mp32wav
# This script uses Mplayer
for i in *.mp3; do
out=$(ls $i | sed -e 's/.mp3//g')
mplayer -ao pcm "$i" -ao pcm:file="$out.wav"
done
Regards,
Antonio
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222
16 years, 9 months
Xen and NVidia
by Caitlyn O'Hanna
I'm trying to get Xen and the NVidia binary driver to work properly. 3d
accel seems very slow. At the moment I'm using the driver package from
FreshRPMS (nvidia-x11-drv-97xx-1.0.9762-4.fc7), and it compiles fine,
loads X fine; but when I have Compiz enabled, rendering is *very* slow.
The only reason why I'm using 97xx is that the newest driver does not
seem to play well with Compiz, it crashes the entire system (thanks
NVidia for inserting a display driver directly into the kernel ;) when I
attempt to logout or stop Compiz. Do I need to use the 'nosegneg'
work-around for glibc? Or if newest NVidia driver will work, how do I
get around the logout/stop Compiz crash?
Any suggestions would be welcome (other than "don't do that..." without
proper explanation to back it up).
Thanks,
Tim
16 years, 9 months
today's authconfig update triggered an SELinux warning
by Joe Smith
SELinux is preventing /sbin/rpc.statd (rpcd_t) "search" to (sysctl_fs_t).
From /var/log/messages:
...
Aug 1 09:42:56 duros yum: Updated: authconfig.i386 5.3.15-1.fc7
Aug 1 09:42:58 duros rpc.statd[2014]: Caught signal 15, un-registering
and exiting.
Aug 1 09:42:59 duros rpc.statd[5279]: Version 1.1.0 Starting
Aug 1 09:43:02 duros sm-notify[5282]: sm-notify running as root. chown
/var/lib/nfs/sm to choose different user
Aug 1 09:43:02 duros Backgrounding to notify hosts...
Aug 1 09:43:02 duros yum: Updated: nfs-utils.i386 1:1.1.0-1.fc7
Aug 1 09:43:03 duros yum: Updated: authconfig-gtk.i386 5.3.15-1.fc7
Aug 1 09:43:04 duros setroubleshoot: SELinux is preventing
/usr/sbin/sm-notify (rpcd_t) "search" to <Unknown> (sysctl_fs_t).
For complete SELinux messages. run sealert -l
498c64ce-3b7a-4009-be3c-ce4989e007b3
Aug 1 09:43:04 duros setroubleshoot: SELinux is preventing
/sbin/rpc.statd (rpcd_t) "search" to <Unknown> (sysctl_fs_t). For
complete SELinux messages. run sealert -l
498c64ce-3b7a-4009-be3c-ce4989e007b3
...
* What does this message mean?
Usually I can make some sense of SELinux' inscrutable gibberish (I kid,
I kid), but this one is new to me. My guess would be a directory access
of some kind--to what?
* Why am I running rpc.statd?
I thought that was for NFS, which I'm not using, although I do have
nfs-utils installed for some reason.
Rpm tells me that nothing else requires nfs-utils, is there any reason
not to simply remove it? Authconfig appears to want rpc.statd running at
least. Maybe I don't need authconfig either.
Any clues appreciated.
<Joe
16 years, 9 months
Re: Back Again
by Antonio Olivares
----- Original Message ----
From: Claude Jones <cjones(a)levitjames.com>
To: For users of Fedora <fedora-list(a)redhat.com>
Sent: Wednesday, August 1, 2007 10:08:14 AM
Subject: Re: Back Again
On Wednesday August 1 2007 10:22:53 am Tim wrote:
> On Wed, 2007-08-01 at 08:39 -0400, Claude Jones wrote:
> > and I did notice that their repos tended to lag behind the
> > release curve after some time - security patches would come
> > through, but many other packages would remain with older
> > versions for much longer periods than with other distros.
>
> Didn't Debian always have that reputation? The normal release
> being somewhat behind the times, but very stable because of
> it. Those who wanted the lastest, to forgo the ordinary
> release and get their extra bits another way.
I've read that as well, but I've also read that those times have
changed. Debian Etch is their version of testing, if I've got
that right, and that's what MEPIS will be based on.
--
Claude Jones
Brunswick, MD, USA
--
I am no expert, but from what I have learned through the years using Debian based distros/live cd's, Knoppix, Kanotix, DSL, etc.
Debian Woody is older
Debian Etch is the stable branch of Debian
Debian Sid is the testing/unstable branch of Debian.
There's also Debian Lenny
http://www.debian.org/doc/FAQ/ch-ftparchives.en.html
Other codenames that have been already used are: buzz for release
1.1, rex for release 1.2, bo for releases 1.3.x,
hamm for release 2.0, slink for release 2.1,
potato for release 2.2, woody for release 3.0,
sarge for release 3.1, and etch for release 4.0
Regards,
Antonio
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
16 years, 9 months