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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jurros

    Reply email from input value javascript

    Hello Iknow its a mess. The real code is not like this :) table must stay :(. Thing is that i cant get the value out from input id=epost and merge it onto the action. Still im trying to solve that with making an javascript that responds onmouseclick and that it will auto generate another...
  2. jurros

    Reply email from input value javascript

    From the code bellow i get a mail everytime a user asks me a question. But i also want to make an auto reply to the user, by using the same action with just changing the email to id=epost value. Help any 1? TABLE id=id_matrix> <TBODY> <TR> <TD vAlign=top><SPAN>Fornavn:</SPAN></TD> <TD...
  3. jurros

    i have a sh script and want a c or cpp script to do the same

    http://www.tek-tips.com/viewthread.cfm?qid=1025612&page=1
  4. jurros

    i have a sh script and want a c or cpp script to do the same

    lol how did that come here.. i cant remeber posting that,.,, tought i deleted that :)
  5. jurros

    Pipes and waitpid

    so is it possible?
  6. jurros

    Pipes and waitpid

    yes this is my shell IFS=`echo -e "\n\r"` for I in `cut -f1 $1` do source="http://startsiden.no/sport/nyheter/" echo "Kilde: $source" lynx -dump $source > /tmp/nyhet hva=$(cat /tmp/nyhet |grep $I | cut -d'.' -f1 | sed -e s/\ //g) for nr in $hva; do over=$(cat /tmp/nyhet | grep -G...
  7. jurros

    Pipes and waitpid

    :) i see but still i need it as pipes and forkes... :(
  8. jurros

    Pipes and waitpid

    sorry about this but this is the code that compiles, but it dont use cut sed etc :( #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <string.h> #include <errno.h> #define SOURCE...
  9. jurros

    Pipes and waitpid

    Hello, i have done a script that is supposed to read urls from the SOURCE. When a user types in vg.no in stdin or read a file that contains vg.no it gets the last 5/6 topics from the newspaper. the problem here is that from pipe 0 to write pipe 1 somthing goes wrong and it doenst do the cut,grep...
  10. jurros

    i have a sh script and want a c or cpp script to do the same

    ok but how do i use the exec function coz i want to include lynx into my script... char arg[254]; char adr[254] = http://www.vg.no arg = printf("-d %s", addresse); exec("lynx -dump addresse")", arg); is it somthing like this above?
  11. jurros

    i have a sh script and want a c or cpp script to do the same

    yes i misunderstod u :) sorry about that.. but is it possible to use lynx at the same way i used it in the sh script.. thats coz lynx adds numbers to the urls when i download it.. Um yes i have also tryed to learn about the HTTP1.1 somthing.. but i dont think i need to go there yet :) so that...
  12. jurros

    i have a sh script and want a c or cpp script to do the same

    actually the sh script works... it sends the website into a temp file on the computer then it gets the urls i want to.. Still how do i connect to a website and dump all the hrefs*topic onto a tmp file with c? #include <iostream.h> #include <fstream.h> #include <stdlib.h> #include <stdio.h>...
  13. jurros

    i have a sh script and want a c or cpp script to do the same

    #!/bin/sh IFS=`echo -e "\n\r"` for I in `cut -f1 $1` do source="http://startsiden.no/sport/nyheter/" echo "Kilde: $source" lynx -dump $source > /tmp/nyhet hva=$(cat /tmp/nyhet |grep $I | cut -d'.' -f1 | sed -e s/\ //g) for nr in $hva; do over=$(cat /tmp/nyhet | grep -G "\W$nr\W" | head -n 1|...

Part and Inventory Search

Back
Top