[04:36] <ToStItOs> Anybody know where I can get a Alternate CD or DVD for 9.04?
[04:37] <gottto> !alternate
[04:37] <gottto> !minimal
[04:38] <gottto> ToStItOs: that should get you started
[04:38] <ToStItOs> Whats the difference between the actual disc and upgrading via Synaptic
[04:40] <ToStItOs> is it faster on the disc
[04:40] <gottto> the alternate isn't a livecd but a text based installer - upgrading usually works fine (with the normal caveats)
[04:41] <ToStItOs> The reason I ask is I have dial up and upgrading is such a pain because of the speed
[04:41] <gottto> with a new install you have the base but still need to d/load your fav apps
[04:42] <gottto> it'll save a few 100 mbs tho
[04:42] <ToStItOs> a fresh install you mean?
[04:42] <gottto> yep
[04:43] <ToStItOs> I have the live cd for 9.04 I just hate to do that
[04:44] <gottto> go the upgrade route then - I still use dapper and don't see the need to upgrade just cause there's a new version
[04:44] <ToStItOs> What I am trying to do is get to 9.10 for hardware compatibility reasons
[04:45] <gottto> well there's only the two options then... :)
[04:45] <ToStItOs> I might just go the upgrade route just the downloads take forever : (
[04:46] <gottto> you can still use the os while upgrading - it's just that your net would be slow or useless
[04:47] <gottto> it would be nice to have an option in the upgrader to limit the d/load speed
[04:47] <ToStItOs> Well I have a wired network a windows box and Ubuntu box
[04:47] <gottto> like in torrents
[04:47] <ToStItOs> yeah it would
[04:48] <evolv> as someone who is interested in using a Linux operating system, but with no experience, is there anything I should look out for when investing in in a laptop or desktop when taking into consideration compatability
[04:48] <evolv> also
[04:48] <evolv> what resources would I have available to check that out?
[04:49] <ToStItOs> I have run into a short problem when I was trying to upgrade. I received a message saying something about a partial upgrade
[04:49] <evolv> Xubuntu was something I wanted to use, but when installing it on my laptop, I encountered a number of issues I couldn't easily resolve
[04:49] <ToStItOs> evolv modem support but if using high speed most likely not a issue
[04:49] <gottto> evolv: what I do is not get the absolute newest hardware - someone has to write the drivers and that takes time
[04:50] <gottto> ther's a site - linux for laptops or similar - where you can check compatabilty
[04:50] <evolv> do you have the site on hand?
[04:51] <gottto> !laptop
[04:51] <evolv> thanks :D
[04:51] <gottto> np
[04:51] <gottto> it was a guess :)
[04:51] <evolv> excellent guess
[04:51] <gottto> hehe
[04:51] <evolv> I figured learning Linux would've been a good career move, it's kind of too late now because my hardware isn't compatible
[04:52] <ToStItOs> well I'll see what I can do about my upgrade
[04:52] <gottto> luck
[04:53] <gottto> evolv: I use it on pent2s to dual cores
[04:53] <ToStItOs> It may not be a problem but what is bothering me is the message about a partial upgrade
[04:53] <gottto> where's that from?
[04:54] <gottto> !paste
[04:54] <gottto> ToStItOs: can you paste it?
[04:54] <ToStItOs> When I ran the upgrade a few times it didn't finish
[04:54] <ToStItOs> let me see hold on
[04:54] <gottto> k
[04:57] <ToStItOs> This is the text box message I receive "Not all Updates can be installed run a partial upgrade to install as many updates as possible
[04:58] <ToStItOs> Can I just bypass this and try to run the upgrade again
[04:58] <gottto> that isn't taking you to the newest version of xubuntu but d/loading the latest version of apps for the present one
[04:59] <gottto> !upgrade
[04:59] <gottto> bahh
[04:59] <gottto> try sudo apt-get update && sudo apt-get upgrade
[05:00] <ToStItOs> the package manager gives me the option too
[05:00] <ToStItOs> I'll just run it again
[05:01] <ToStItOs> I really do appreciate your help
[05:02] <ToStItOs> thanks a lot
[05:02] <gottto> np
[05:03] <ToStItOs> see you later
[05:03] <gottto> to upgrade to the next version is   sudo apt-get install update-manager-core
[05:03] <gottto> sudo do-release-upgrade
[05:03] <ToStItOs> let me try that
[05:06] <ToStItOs> what will these sudo commands do
[05:06] <ToStItOs> will it upgrade to 9.04
[05:06] <gottto> get you the latest stable xubuntu
[05:06] <gottto> no 9.10
[05:06] <gottto> !karmic
[05:07] <gottto> what version are you on?
[05:07] <ToStItOs> I thought I couldn't upgrade from 8.10
[05:07] <gottto> I thought 9.04 - it takes you one stepat  a time
[05:07] <ToStItOs> to 9.10
[05:08] <gottto> you can't - I made an assumption
[05:08] <gottto> it will take you to 9.04
[05:08] <ToStItOs> Thats what I have 8.10
[05:08] <ToStItOs> Xubuntu intrepid
[05:08] <gottto> 8.10 + 1 = 9.04
[05:09] <gottto> to get to 9.10 will be 2 upgrades
[05:09] <ToStItOs> so I need 9.04
[05:09] <ToStItOs> I know
[05:10] <ToStItOs> should I cancel the upgrades I am running for 9.10?
[05:11] <gottto> you can't be doing an upgrade to 9.10 - if you used those commands I wrote you're going to 9.04
[05:11] <ToStItOs> I'll run Synaptic
[05:12] <ToStItOs> thats fine I want 9.04 should I start it again
[05:13] <gottto> it's your choice ultimately
[05:13] <ToStItOs> or are there other commands to hit in the terminal
[05:14] <gottto> no same commands
[05:14] <ToStItOs> The commands you gave me that upgrades me to the next stable version which in my case is 9.04 correct?
[05:16] <ToStItOs> ok so that will upgrade me to 9.04 right
[05:17] <gottto> yep
[05:17] <gottto> sudo apt-get install update-manager-core
[05:18] <ToStItOs> ok good
[05:18] <gottto> sudo do-release-upgrade
[05:18] <ToStItOs> E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
[05:18] <ToStItOs> E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
[05:19] <gottto> is synaptic open?
[05:19] <ToStItOs> I closed it
[05:19] <gottto> works now?
[05:20] <ToStItOs> wait its doing someting
[05:20] <gottto> should be getting headers
[05:21] <ToStItOs> brb
[05:22] <gottto> k
[05:25] <ToStItOs> Synaptic won't stop running
[05:26] <gottto> in terminal   ps aux | grep apt   and look at the pid of synaptic then   kill -9 "pid"
[05:26] <gottto> pid is a 4 digit number
[05:26] <gottto> mostly
[05:30] <ToStItOs> operation not permitted
[05:32] <gottto> err kill -n 9 "pid" sorry
[05:32] <gottto> and use sudo...
[05:33] <ToStItOs> I got it working
[05:33] <gottto> ToStItOs:
[05:33] <gottto> yah
[05:35] <ToStItOs> Traceback (most recent call last):
[05:35] <ToStItOs>   File "/usr/bin/do-release-upgrade", line 5, in <module>
[05:35] <ToStItOs>     import apt
[05:35] <ToStItOs> ImportError: No module named apt
[05:35] <gottto> bugger me - did you install the update-manager-core ?
[05:36] <ToStItOs> It said it was the latest one
[05:36] <gottto> k
[05:36] <ToStItOs> now what
[05:37] <gottto> all I can suggest is
[05:37] <gottto> to update + upgrade and
[05:37] <gottto> retry...
[05:38] <ToStItOs> ok
[05:38] <gottto> I've never seen that happen - I'll have a google
[05:38] <ToStItOs> ok
[05:38] <ToStItOs> I closed the terminal while it was downloading
[05:40] <gottto> ctrl+c is a better way
[05:41] <gottto> that error is from a python script that is the do-release-upgrade app
[05:41] <ToStItOs> So what do I need to do
[05:42] <gottto> apt module should've been d/load as a dep of update-manager-core
[05:42] <ToStItOs> can we fix it
[05:42] <gottto> update + upgrade and install the update-manager-core
[05:43] <ToStItOs> sudo command?
[05:43] <gottto> yep
[05:43] <gottto> sudo apt-get update
[05:43] <gottto> suado apt-get upgrade && sudo apt-get install update-manager-core
[05:44] <gottto> *sudo
[05:44] <ToStItOs> its upgrading now
[05:44] <gottto> k
[05:45] <ToStItOs> but the upgrade is gonna take forever
[05:45] <gottto> the joys of dialup :)
[05:45] <ToStItOs> yeah joy
[05:46] <ToStItOs> more like torture
[05:46] <gottto> ubuntu.com recommends updating and upgrading before the distubution upgrade
[05:47] <ToStItOs> yeah I know so once this is done then what do I need to do
[05:47] <gottto> sudo do-release-upgrade
[05:48] <gottto> once the manger core is installed - it should need to have some deps d/loaded
[05:48] <ToStItOs> all I did was sudo apt-get upgrade
[05:49] <gottto> should've updated first - so it could find what was missing
[05:49] <gottto> but wait till it finishes now
[05:49] <ToStItOs> i did
[05:49] <gottto> k
[05:50] <gottto> then sudo apt-get install update-manager-core && sudo do-release-upgrade
[05:50] <ToStItOs> ok gotcha now
[05:50] <gottto> hopefully the update picked up on the missing dep
[05:51] <gottto> and manager core has the apt module
[05:51] <ToStItOs> so the manager core then do release
[05:51] <gottto> yep
[05:51] <ToStItOs> after all this is done I should be at 9.04
[05:52] <gottto> you will be - that's what all this does :)
[05:52] <ToStItOs> great
[05:53] <ToStItOs> saved me a headache and a lot of head scratching
[05:53] <gottto> took me a while to learn the ropes -- and I'm still learning...
[05:54] <ToStItOs> same here When I had my last computer I was a internal dial up modem that was a pain
[05:55] <ToStItOs> *using
[05:55] <gottto> hehe
[05:57] <ToStItOs> if you don't mind me asking where are you from
[05:57] <gottto> I'm in Australia - Brisbane
[05:58] <gottto> you're in texas right?
[05:58] <ToStItOs> ok well there is a city named after me
[05:58] <ToStItOs> take a wild guess
[05:58] <gottto> there's a brisbane in canada as well
[05:58] <ToStItOs> no Mississippi
[05:59] <gottto> Houston1.level3.net shows on your ip address
[05:59] <gottto> so I thought
[05:59] <gottto> ...
[05:59] <ToStItOs> let me give you a riddle in Australia there is a small city with a unique name and it ends with a n
[06:00] <ToStItOs> no Mississippi
[06:00] <gottto> I give up :)
[06:00] <ToStItOs> ip address are misleading at times
[06:00] <gottto> they are that
[06:01] <ToStItOs> The city is Darwin which is my name
[06:01] <gottto> ohhh
[06:01] <evolv> your name is Darwin?
[06:02] <evolv> I'm a fan of Charles Darwin's work :D
[06:02] <ToStItOs> yep
[06:02] <evolv> led me to what I do now
[06:02] <ToStItOs> uh huh
[06:03] <ToStItOs> oh really my father gave me that name
[06:03] <ToStItOs> I guess I am sort unique
[06:03] <ToStItOs> of
[06:04] <evolv> to have a last name as a first name?
[06:05] <ToStItOs> just the name in general not many people in my State have that name
[06:06] <evolv> I want to name my first born Claudius
[06:06] <evolv> if things work out with my current girlfriend, I will not realize my dream
[06:06] <evolv> :\
[06:07] <ToStItOs> Thats a good name
[06:07] <gottto> she doesn't like claudius?
[06:08] <evolv> nope
[06:08] <evolv> but she has no roman ancestry
[06:08] <evolv> so that might explain it
[06:08] <ToStItOs> well that sucks
[06:09] <evolv> to be fair, she doesn't want kids with Indian names
[06:10] <ToStItOs> picky picky
[06:11] <evolv> Indian names are kind of ridiculous
[06:11] <evolv> :P
[06:11] <evolv> chandreshakar
[06:11] <ToStItOs> yeah you have a point there
[08:57] <RobertZaccour> will there be a new theme in lucid?
[08:57] <bazhang> should be. #ubuntu+1 for lucid support/discussion
[11:07] <hexdump_> has anybody here ever tried using mod_bw or mod_cband with apache and had success?
[11:07] <hexdump_> I'm running into problems constantly
[11:13] <hexdump_> nm I think I just had version errors I dunno
[13:45] <tachiro1> hmm
[13:46] <tachiro1> now i guess i just have to assassinate who took my original name
[13:46] <gottto> I'm for hire at a reasonable feee :)
[13:47] <gottto> *fee
[13:47] <tachiro1> well i gotta double check, they may be uhh
[13:47] <tachiro1> me
[13:47] <gottto> hehe
[13:49] <tachiro1> i swear, ubuntu is great and all, and i see all these things that by design make me wish i started using it years ago, but jumping in without a real knowledge foundation, is CRAZY
[13:50] <tachiro1> just dancing around complex terminal commands to pull off the stupidest stuff, like changing my mouse polling rate
[13:50] <gottto> most start with a dual boot so they can go back to windows when things get hard...
[13:50] <tachiro1> yea
[13:50] <tachiro1> well in this case.. mother board blew out
[13:51] <tachiro1> thank you blackout from 2-3 weeks ago
[13:51] <gottto> they do suck
[13:52] <tachiro1> i do love nautilus though
[13:52] <gottto> in xubuntu - what's wrong with thunar?
[13:53] <tachiro1> ok before i continue, lol signing in here i had no idea what Xubuntu was referring to, i figured it was just to indicate all ...ubuntu distros
[13:54] <tachiro1> but i think i'm using karmic koala
[13:54] <Sysi> do you know how much there are ubuntu related channels? :)
[13:54] <tachiro1> nope lol
[13:54] <tachiro1> brb
[13:54] <gottto> heh - ther's #ubuntu, #kubuntu and many others as well
[14:00] <tachiro1> yeaa those are the two i spotted... stumbling through the how-to to get in here lol
[14:00] <tachiro1> i've heard of kubuntu before
[14:01] <tachiro1> dunno what the basic diff is though
[14:13] <tachiro1> so how many nuubs get on here with issues everyday?
[14:14] <Sysi> varies
[14:14] <tachiro1> i figured i'd be fighting to get a word in here, looking at all the people logged in
[14:20] <tachiro1> btw anyone heard about some new business plan that i think certain movie companies are initiating?
[14:21] <tachiro1> using lawsuits against individuals who pirate movies as a source of revenue
[14:21] <tachiro1> steady*
[14:57] <tachiro1> see, here's another mystery, i'll need to double check with another OS on this laptop to see if the problem persists, but would i be the only person that has issues with sound in ubuntu? it seems like the strength of certain frequencies keep fluctuating
[14:58] <tachiro1> so it sounds like someone is wiggling the volume knob when i'm playing music
[17:20] <Balsaq> testing testin
[17:42] <tachiro1> i really need to fix this everyday mouse lag, it's unacceptable
[17:43] <tachiro1> anyone know how to change mouse polling rate?
[17:45] <charlie-tca> Applications -> Settings -> Mouse ?
[17:47] <tachiro1> eh, tried that, nothing there that seems like it'll significantly affect the response time
[17:49] <tachiro1> imagine this, you clicking around and then the mouse stops picking up every move, so if you just zigzag the mouse in place, the cursor eventually ends up off screen from the lag
[17:49] <tachiro1> this'll happen for 5-6 second intervals
[17:49] <tachiro1> then back to normal
[17:49] <tachiro1> then a minute later same seizure again
[17:49] <tachiro1> sometimes less than a minute in between
[17:50] <charlie-tca> how much memory?
[17:50] <tachiro1> one moment
[17:51] <charlie-tca> I have seen that in low memory configurations
[17:52] <charlie-tca> Seems to be the databases updating and causing the freeze to happen. Sometimes killing the "gam_server" makes it behave, but that slows down the drive updates, too.
[17:53] <tachiro1> hmm
[17:54] <tachiro1> well this is an older dell laptop
[17:54] <tachiro1> i think i got a 256 and a 512 in here
[17:55] <tachiro1> but isn't there a way to give the mouse more priority over other processes?
[17:56] <tachiro1> i got no clue if there's an individual process in charge of the mouse
[17:58] <charlie-tca> There probably is a way. Might try #ubuntu on that. It should use the same processes
[17:59] <tachiro1> ummm
[17:59] <tachiro1> don't tell me i'm in the wrong place
[17:59] <tachiro1> am i?
[17:59] <tachiro1> here we go
[18:00] <charlie-tca> No, it is just that they have more people there
[18:00] <tachiro1> lol oh ok
[18:00] <tachiro1> cuz i'm using karmic now
[18:01] <tachiro1> <looking at channel name>
[18:01] <tachiro1> wait a minute is Xubuntu somethign else like Kubuntu?
[18:01] <charlie-tca> xubuntu is based on ubuntu
[18:01] <tachiro1> JESUS
[18:01] <charlie-tca> and we use some of their processes and applications
[18:01] <tachiro1> really
[18:01] <charlie-tca> They are both based on gtk
[18:02] <charlie-tca> Kubuntu is based on kde, which changes things much more
[18:02] <tachiro1> so is there a basic difference between the two? like, the reason why it was made into it's own thing?
[18:04] <charlie-tca> yes, gnome desktop in ubuntu is more resource hungry than xfce in Xubuntu
[18:06] <charlie-tca> We use some of the same applications, but stay away from the gnome-specific apps and try to use lightweight applications specifically
[18:06] <charlie-tca> We don't change the underlying hardware driver stuff
[18:11] <tachiro1> hmm
[18:11] <tachiro1> so what's the trade off then?
[18:11] <charlie-tca> resources
[18:12] <tachiro1> hmm, so what about like.. learning curve
[18:12] <charlie-tca> Takes about 3.5GB to install Ubuntu, 1.5GB to install Xubuntu. Takes about 512MB memory to run Gnome desktop; takes about 256MB to run xfce
[18:13] <charlie-tca> learning curve is there, just like anything else.
[18:15] <charlie-tca> You had to learn gnome and openoffice and the rest of the apps in Ubuntu.
[18:15] <charlie-tca> Now you learn different applications. Not too big a curve, actually.
[18:16] <charlie-tca> Abiword instead of OpenOffice Writer is almost the same, but doesn't need as much memory and drive space. Gnumeric instead of OO spreadsheet is the same
[18:17] <charlie-tca> You have an older laptop there. It may not even run Ubuntu anymore. It will run Xubuntu.
[18:18] <tachiro1> lol ohhhh ok
[18:19] <tachiro1> lol i might not have mouse laggeh issues either if i was using that
[18:19] <tachiro1> ok bookmarking thought
[18:19]  * charlie-tca thinks also that Xubuntu is really the best thing going, too.
[18:20] <charlie-tca> you might not, if it runs
[18:21] <charlie-tca> I run Xubuntu on a p2, 400MHz system, a P4 1.5GHz system, and an athlon 64bit 2.2GHz system
[18:22] <charlie-tca> I don't see the mouse lag, though
[18:24] <tachiro1> hmm
[18:26] <charlie-tca> I wonder if you need to shut off the touchpad buttons to fix that?
[18:26] <charlie-tca> Or, rather, that thingy in the middle of the keyboard
[18:27] <tachiro1> oh the nub thing
[18:27] <tachiro1> y'know what? i think i'll try that
[18:27] <tachiro1> cuz i'm using a usb keyboard too
[18:27] <charlie-tca> That's the one! I don't actually have a laptop, myself
[18:35] <tachiro1> nah i'm fuckin stuck with this until i can get a new mobo (possibly a new case too) thanks to a black out a couple weeks ago
[18:36] <charlie-tca> hmm, sorry. Wish I could be more help. Feel free to ask here every couple of hours, though. Someone else might be able to help out.
[18:40] <tachiro1> well in actuality i got a whole bunch of shit to look up now, and a whole bunch of memory saving ideas to try out
[18:40] <tachiro1> lol looks like help to me
[18:43] <Myrtti> mind your language, we aim to be a channel suited for all...
[18:50] <tachiro1> it took me a second to figure out what you were referring to lol
[18:50] <tachiro1> ok no prob
[18:52] <tachiro1> hey doesn't ubotto have some sort of censor thingy?
[18:59] <Myrtti> what do you mean?
[19:01] <tachiro1> i know it's IRC but i go to a paintball chat room called pbreview where there's a bot that detects profanity and auto-replaces it with w/e the moderators choose
[19:02] <tachiro1> just watching other people talk is just hilarious
[19:04] <tachiro1> it'll be like "after all these years, i can't believe i stepped in dog [Subway! Eat Fresh! *chomp*] walking home today"
[19:08] <Myrtti> no, nothing like that here
[19:10] <tachiro1> awww
[20:00] <hexdump_> yo
[20:13] <hexdump_> hi all, I have a question maybe one of you experts in there could help me with it
[20:13] <hexdump_> I'm trying to use sed to remove blackslashes or forward slashes in my html file
[20:14] <hexdump_> I figured out how to remove leters, but I run into errors when trying to remove shashes
[20:15] <naaina> you need to escape them
[20:15] <naaina> like
[20:15] <naaina> $ echo "/" | sed "s/\//test/g"
[20:15] <naaina> test
[20:16] <hexdump_> naaina:  ok thanks I'll give it a shot
[20:17] <hexdump_> naaina:  I'm actually trying to remove a string like ///var/www
[20:17] <hexdump_> so it would me $ echo "///var/www" | sed "s/\//test/g"
[20:18] <hexdump_> naaina:  test would be my document correct?
[20:19] <naaina> don't understand it
[20:19] <naaina> what exactly do you want to do?
[20:19] <Sysi> ah, regular expressions ♥
[20:19] <hexdump_> I need to remove a string of text such as "///var/www"
[20:19] <naaina> completely?
[20:19] <Sysi> invented for clean-language ubuntu channels :p
[20:20] <hexdump_> reason it is like "///var/www" is because I've already used sed to remove //file:/var/www
[20:20] <naaina> so, you want to make //file:/var/www to /var/www?
[20:20] <hexdump_> naaina:  the only thing is I don't want to delete all instances of "/"
[20:22] <hexdump_> naaina:  give me just one sec k
[20:23] <hexdump_> naaina:  actually the only characters left for me to delete is this "///" no quotes
[20:24] <hexdump_> I'm sorry just "//" two slashes
[20:25] <naaina> //file:/var/www -> //
[20:25] <naaina> ?
[20:33] <hexdump_> naaina:  sorry bud, I just had to take a phone call
[20:33] <hexdump_> naaina:  on the two slashes "//" are remaining
[20:34] <naaina> .... i really can't understand the question. what do you want to achieve? gimme an example for source text and say what the result should be.
[20:36] <hexdump_> naaina:  ok here is the rundown.  I used a program that generates an html file output and lists the given directories/files.  I'm using it for my website to speed up the process.
[20:37] <hexdump_> the problem is that when I generate the html file it lists the local files and not an online url, so I need to remove the file://var/www/ portion of the entire directory
[20:38] <hexdump_> I need to remove that section so that ppl will be able to download files with the correct web directory
[20:38] <naaina> okay
[20:38] <naaina> cat index.html | sed "s/file:\/\/var\/www\//g"
[20:39] <naaina> or this one (if you want to replace directly in the file):
[20:39] <naaina> sed -i "s/file:\/\/var\/www\//g" index.html
[20:39] <hexdump_> ok then how to I save the new file
[20:39] <hexdump_> ah okay
[20:39] <hexdump_> so cat index.html | sed blah first
[20:39] <hexdump_> then sed -i "s blah
[20:39] <naaina> if you want to output it on the console
[20:40] <naaina> you use ONLY the second one
[20:40] <naaina> if you want to repalce directly in the file
[20:42] <hexdump_> naaina:  gotchat hence cat right.  cool, thanks I'll give this a shot and give let you know what happens.
[20:43] <slow-motion> hi
[20:46] <hexdump_> naaina:  sed 's/apple$/windows/g' document.txt > new.file
[20:46] <hexdump_> slow-motion:  eh how are ya
[20:47] <hexdump_> naaina:  yeah then of course the prob with special characters came along.  Anyway, I'll let you be, thanks again for the great support.
[20:47] <naaina> $
[20:47] <naaina> is a string / line end in regex (the "language" sed uses)
[20:47] <naaina> you have to escape it too.
[21:01] <hexdump_> naaina:  fantastic man worked out perfectly
[21:04] <naaina> regular expressions (regex) are a very mightly tool for string replacing
[21:04] <naaina> you should read some stuff about it. there are fantastic things possible with it.
[21:05] <hexdump_> naaina:  it worked, I had to modify it slightly, but this is what worked sudo sed -i "s/\/\///g"  networking.htm
[21:06] <hexdump_> naaina:  this program is really powerful.  I have some books on this program.  I think I might check it out soon as I'm done with my site
[21:11] <hexdump_> ah damn, I don't want to ask you this again, but I don't think google can find exactly what I'm looking for.
[21:11] <hexdump_> naaina:  gimmie a sec, I might be back.  let me read up first I don't want to immediately ask again.
[21:12] <hexdump_> naaina:  If it gets too tough, and I can't find what I'm looking for I might have to come back.
[21:16] <naaina> just ask your question ;)
[21:45] <hexdump_> naaina:  I can only seem deletion of characters on a like this:  first 10 lines .doc or something
[21:46] <hexdump_> naaina:  I need to only delete the second instance of the same characters on each of those lines but I can't find out how in any documents.
[21:50] <naaina> only once per line?
[21:50] <hexdump_> naaina:  see here is the prob, reason why it seems tought for me...
[21:51] <hexdump_> naaina:  first instance of .chm or .pdf is in the hyperlink and the second is in the description itself.  this is on maybe like every other line or something.
[21:51] <hexdump_> naaina:  I must delete only the second instance of the .chm or .pdf extension on those lines
[21:52] <hexdump_> naaina:  see now I was thinking if there was a possibility to remove say .chm next to the text </a> but I'm not sure how to accomplish that.
[21:52] <hexdump_> naaina:  brb in just a sec
[22:00] <hexdump_> naaina:  okie I'm back
[22:03] <slow-motion> n8
[22:05] <hexdump_> naaina:  I have 2 instances of the same *.pdf or *.chm per line
[22:05] <hexdump_> naaina:  rather every other line or so.
[22:18] <naaina> and you want to remove the second one? :)
[22:32] <hexdump_> yes
[22:33] <hexdump_> naaina:  sorry I was helping somebody with samba
[22:33] <hexdump_> naaina:  ues I need to remove the second instance of each *.chm or *.pdf on each line.  the *.chm or *.pdf is located in the description field, and I need to remove those.
[22:42] <hexdump_> naaina:  yeah that's right brb
[22:48] <hexdump_> naaina:  you there bro?
[22:49] <naaina> yes yes. paste a line here where both entries occur
[22:52] <hexdump_> I'm going to pastebin it
[22:57] <hexdump_> naaina:  here you go http://pastebin.com/5Si9gLpa
[23:02] <naaina> and you want to replace the 2nd one?
[23:02] <naaina> ok. only the extension.... i see
[23:02] <naaina> one second pls
[23:04] <naaina> sed -i "s/\.[a-z]\{3\}//gi" yourhtmlfile.html
[23:05] <naaina> sed -i "s/\.[a-z]\{3\}<\/a>/<\/a>/gi" yourhtmlfile.html
[23:05] <naaina> this one is better
[23:09] <hexdump_> sorry I'm back
[23:12] <hexdump_> naaina:  sed 's|\(<a class="file" href=.*>\).*/\(.*\)\.[^<]*\(</a>\)|\1\2\3|' oldfile.htm > newfile.htm
[23:34] <hexdump_> naaina:  craziness getting access denied from sed 's|\(<a class="file" href=.*>\).*/\(.*\)\.[^<]*\(</a>\)|\1\2\3|' programming.htm > programming.htm
[23:41] <schlaftier> hexdump_: use sed -i for in-place editing
[23:42] <hexdump_> ah okie
[23:42] <hexdump_> let me give er a shot
[23:42] <hexdump_> schlaftier:  thanks bud
[23:43] <hexdump_> schlaftier:  still permission denied
[23:43] <schlaftier> the problem with shell redirection is that it tries to open and empty the > file before reading from it
[23:43] <hexdump_> ah ha got it
[23:43] <hexdump_> permissions problem
[23:43] <schlaftier> hexdump_: sorry, gotta go, can't help you with the permissions issue. But keep sed -i in mind
[23:44] <schlaftier> hexdump_: good luck :)
[23:44] <hexdump_> schlaftier:  np you helped me.  I found out what was wrong tho.  it was a permissions problem
[23:44] <schlaftier> hexdump_: alright, glad you solved it. You're welcome
[23:45] <schlaftier> have a nice day, bye everyone