Search Results

Search: Posts Made By: Michael Stora
1,731
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,606
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
2,244
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...
3,445
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...
8,693
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?). ...
8,693
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...
13,021
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...
4,810
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...
2,052
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...
1,137
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...
3,613
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...
20,826
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

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