Search Results

Search: Posts Made By: Michael Stora
1,035
Posted By Michael Stora
I found something interesting. *.aps folders are...
I found something interesting. *.aps folders are rarely inside other *.aps folders (although *.aps files are . . . just not folders).
folderList=$( find "$dataDir" -type d -name '*.aps' -printf...
1,055
Posted By Michael Stora
I usually use comma delimited output for Excel...
I usually use comma delimited output for Excel you can do this by setting OFS or adding commas to your print line.

Mike
1,355
Posted By Michael Stora
I am trying to make a stand-along mailer along...
I am trying to make a stand-along mailer along the lines of the minimal one I put together Monday but with everything configurable and a lot more features. The body of the message comes from STDIN...
2,045
Posted By Michael Stora
No mystery. My question is how to detect EOF...
No mystery. My question is how to detect EOF when the defined delimiter is not present.

RudiC's answer was perfect. I want to do other things in the while loop with $line and I want to do things...
5,302
Posted By Michael Stora
I should say HELO or EHLO and will add that. I...
I should say HELO or EHLO and will add that. I should also add Date: to the extended headers (beginning of the body) under RFC 2822. In addition recipients are assumed to be bcc (by my server?). ...
5,302
Posted By Michael Stora
OK. I got it! Works great. Had to read some RFC...
OK. I got it! Works great. Had to read some RFC documents. Got a clue where to start from a mention of RFC 2822 in a rejection message and from there I found the RFCs for MIME.


{ echo "MAIL...
10,511
Posted By Michael Stora
My virtual server at work pages me every time it...
My virtual server at work pages me every time it "reboots". My home server pages me every time my ISP changes my IP address (rare these days but used to happen a couple times a week).

Just send...
3,222
Posted By Michael Stora
I'm forced to work in a Windows environment and...
I'm forced to work in a Windows environment and have found Cygwin (https://www.cygwin.com/) to be the best shell environment available.

You can then create a .bat file to execute the script file...
1,521
Posted By Michael Stora
If you can't get the first applicaiton to...
If you can't get the first applicaiton to manipulate a lockfile or otherwise signal your script, you can use incron (a cron like utility for file system events) to signal your second script that it...
780
Posted By Michael Stora
Generating summary data (use awk?)
I have a data file similar to this (but many millions of lines long). You can assume that it is totally unsorted but has no duplicate rows.

Date ,Tool_Type ,Tool_ID ,Time_Used...
1,762
Posted By Michael Stora
Making big find command more human readable
This does not work. One line works but my pattern are about 100 characters long and it is messy to read. When I try to use several lines it does not two'

find "$inputDirectory" \( -name 'very...
6,549
Posted By Michael Stora
read is a line reading tool and the last value...
read is a line reading tool and the last value read in one iteration of the command is treated as the remainder of the line even if contains field separators. Fortunately you can change the line...
Showing results 1 to 12 of 12

 

Featured Tech Videos

All times are GMT -4. The time now is 10:55 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy