Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Script][N900][19/9/2014] NatGeo photo of the day script.

    Reply
    Page 2 of 2 | Prev |   1   2 |
    Ilew | # 11 | 2014-09-18, 09:02 | Report

    So I went through and added my own tweaks to it.
    I hope you don't mind.

    @shawnjefferson
    I've added a variable to mine called QUIET. Just set it to 'y' and you won't get the read prompts

    Edit: Oh and I've fixed the file comparison problem and mine doesn't rely on Bash3

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz n900photooftheday.sh.gz (2.1 KB, 108 views)

    Last edited by Ilew; 2014-09-18 at 09:17.
    The Following 4 Users Say Thank You to Ilew For This Useful Post:
    foobar, marcphemt, pichlo, Wikiwide

     
    marcphemt | # 12 | 2014-09-18, 09:34 | Report

    Originally Posted by Ilew View Post
    So I went through and added my own tweaks to it.
    I hope you don't mind.

    @shawnjefferson
    I've added a variable to mine called QUIET. Just set it to 'y' and you won't get the read prompts

    Edit: Oh and I've fixed the file comparison problem and mine doesn't rely on Bash3
    Thank you for add the QUIET variable..i m glad for it!!
    If you are right i ll upload the script in github to let every user to have the same script!! Tell me and i'll add your username in the GPL and in first post!! Another time, thank you!!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to marcphemt For This Useful Post:
    Wikiwide

     
    shawnjefferson | # 13 | 2014-09-19, 02:00 | Report

    Yea, I fixed the file size comparison on mine yesterday. Just added a gsub to the awk line (you've used sed).

    I noticed that $PICTURE_DIR is still missing from a few places though.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to shawnjefferson For This Useful Post:
    marcphemt, Wikiwide

     
    Ilew | # 14 | 2014-09-19, 07:02 | Report

    Originally Posted by shawnjefferson View Post
    Yea, I fixed the file size comparison on mine yesterday. Just added a gsub to the awk line (you've used sed).

    I noticed that $PICTURE_DIR is still missing from a few places though.
    Oh you're right, I totally forgot about gsub.
    I also fixed up the hardcoded values and cleaned up a few things, so I thought I might as well share it again.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz n900photooftheday.sh.gz (2.0 KB, 108 views)
    The Following User Says Thank You to Ilew For This Useful Post:
    Wikiwide

     
    marcphemt | # 15 | 2014-09-19, 07:45 | Report

    Allright i see the code! Thanks guys!
    unfortunately for now i ve no time to correct the script because i m studying for the last exam for my veterinary university..but i m glad that you worked on this correction ..
    as i say before i wrote the script time ago for my linux machine, and only ported to get functionality for n900..

    As before..if you want i can add your username to the script..
    And i ll upload it to github if you agree..
    cheers
    Marcphemt.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to marcphemt For This Useful Post:
    Ilew, pichlo, Wikiwide

     
    Ilew | # 16 | 2014-09-19, 08:03 | Report

    Sure you can add my changes if you want, you have my permission.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Ilew For This Useful Post:
    marcphemt, nokiabot, pichlo, Wikiwide

     
    Page 2 of 2 | Prev |   1   2 |
vBulletin® Version 3.8.8
Normal Logout