Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Implementing checksum into program

  1. #11
    Join Date
    Sep 2010
    Location
    U.K
    Beans
    131

    Re: Implementing checksum into program

    One final note if i may,

    Am i right in thinking if i redirect the output of the actual wpa_cli wps_reg command to >> /dev/null, it will tidy up the un-necessary

    "selected interface 'wlan0'
    " O.K"

    lines in the program?

    Nevermind i can figure this out easily....whether stdout or stderr needs to be redirected, its not a biggy.

    Thread solved,

    Kudos to the senior citizen!
    Last edited by Eiji Takanaka; February 8th, 2012 at 03:00 AM.

  2. #12
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: Implementing checksum into program

    Good! Well done, you've learned some bash scripting along the way.

    You can redirect the output of the command to /dev/null or to a log file. If it's well-behaved and sends output to stdout and errors to stderr, that should work OK.

    The only other thing was that I think you put the ean8 executable in /bin. I meant ~/bin, which is /home/<your_username_here>/bin. Not a great problem but if you reinstall Ubuntu you might lose it, so keep the ean8.c file somewhere if you modify it.

  3. #13
    Join Date
    Sep 2010
    Location
    U.K
    Beans
    131

    Re: Implementing checksum into program

    I don't have a /home/bin on my system, so i'll just leave it in /bin for now.

    Thanks once again for your assistance and for the ean-module you rustled up.=)

    It's a useful little program!
    Last edited by Eiji Takanaka; February 10th, 2012 at 05:18 AM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •