Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

script syntax ..

  • 18-09-2008 10:21am
    #1
    Closed Accounts Posts: 1,788 ✭✭✭


        mail -s "[\\\\trpa17\\Scanned Letters\\$1\\$2]" sorting7 < input.empty
        date '+%F %T',"\\\\trpa17\\Scanned Letters\\$1\\$2"  >> /home/sorting_ext/SORTING_EXT_FILE_SFR.csv
    fi
    


    what does this do ?

    from what i can see sends a mail with the subject a path, + 2 args..
    but it's the 2nd line and 3rd line im unsure of..


Comments

  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    The first line sends an e-mail with the text from input.empty (presumably nothing) and a path in the subject to the local address or alias 'sorting7'. The second line appends the date and time and path as a new line at the end of a comma seperated file. The third line is the closing part of an 'if' statement so you should find a corresponding 'if' line somewhere above.

    The only bit that is really script syntax is the 'fi'. The other two are just standard shell commands with redirects for file operations.


Advertisement