Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kharybdis

  1. kharybdis

    problems using MIME::Lite

    I'm using a form to have an HTML file sent to the address entered in the form. I'm having a problem on the server side. Here is my testing HTML: <html> <head> <title>Untitled Document</title> <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;> </head>...
  2. kharybdis

    using form to send html e-mail

    I am trying to create a form to either forward an html e-mail message to a new recipient, or to have a form to fill in the address to send an html e-mail to. I have seen these before, usually at a site where you can e-mail an article to someone, and the article is sent to them. I have looked...
  3. kharybdis

    how to unpack files w/ the tar.gz extension

    Hey Rusty, Like most Linux commands it's simple, IF you can remember which flags to use with the commands. In this case you'll want to try this: tar zxvf filename.tar.gz Here's what the flags mean: z - use whenever you have the .gz at the end x - unpack (or extract) the compressed file v -...
  4. kharybdis

    Weird bash shell script side-effect

    Well, I didn't ever figure out what the problem is with the added characters, but I found a program at freshmeat.net that turnes Unix/Linux carriage returns (^M) into the DOS counterpart. http://www.rastersoft.com/fixhtmleng.html
  5. kharybdis

    Strange redirect problem

    I'm using a basic bash script to generate an HTML page. It's just using echo, since only one thing needs to change. That one thing is a variable $extip, which = my current IP. I've used this technique a bunch of times and it's worked just fine, but now I have a strange problem. Here's the...
  6. kharybdis

    Weird bash shell script side-effect

    Ok, here's where I'm at. I couldn't get around the redirect problem, so I thought I'd 'sed' the ^M out with this . . . sed &quot;s/^M//g&quot; <index.html > index.new but it doesn't seem to be doing anything. Is sed confusing the '^M' for an actual carriage return? I've tried `^M`, '^M'...
  7. kharybdis

    Weird bash shell script side-effect

    Thanks for the reply rcyamor! Your suggestion worked and it didn't work. Before, I got the ^M if I ran: bash home.sh and bash home.sh > index.html Now, it doesn't happen on: bash home.sh So, for some reason, redirecting it causes the extra characters. I'm going to experiment a little. I'll...
  8. kharybdis

    Weird bash shell script side-effect

    I'm using a basic bash script to generate an HTML page. It's just using echo, since only one thing needs to change. That one thing is a variable $extip, which = my current IP. I've used this technique a bunch of times and it's worked just fine, but now I have a strange problem. Here's the...
  9. kharybdis

    Just want to set a variable = a text file

    I was wondering the same thing. I want to redirect from my homepage that i use for my domain name, and forward it to my dynamic ip on my own Apache webserver. I can write the script to update the ip and send it in text form to the static server, but can't think of a way to have the redirect...

Part and Inventory Search

Back
Top