Hi,
I know Outlook 2013 and preceding versions have a "Close original message when replying or forwarding" option... but how about when deleting?
As I work through my email each day, many of which contain references to support tickets or links to other external sites to do some work or...
I haven't touched Solaris for a few years now, but the most common problem used to be using spaces instead of tabs. syslog.conf at the time only supported tabs as field separators.
Annihilannic
tgmlify - code syntax highlighting for your tek-tips posts
This works. Unfortunately complex because sed -r doesn't seem to support greediness (?) in ERE:
sed -r 's/(\.([0-9]*[1-9])?)0+$/\1/;s/\.$//'
By contrast, perl does:
perl -pe 's/(\.[0-9]*?)0+$/\1/;s/\.$//'
But the awk solution is probably the must human-compatible anyway. :-)
Annihilannic...
Hawaii 2.5-0
Four-and-a-half Months
704
Ferris Bueller's Morning Off
Sit By Me
Middle Gun
Very Short Circuit (to correct the one mentioned earlier?)
The Gods Must Be Occasionally Unpredictable
Annihilannic
tgmlify - code syntax highlighting for your tek-tips posts
I'd use AVG Free over those two abominations any day! (Neither would have saved your customer from CryptoLocker in my experience...)
Annihilannic
tgmlify - code syntax highlighting for your tek-tips posts
Seems good enough, I would probably have sorted the two lists and used 'diff' and customised output format, or 'comm' and my own format handling, but I don't think it would be any better really. And yes, you could use perl/awk/whatever but it would just be the same code as you wrote in a...
Another trick, if the first character in a character class is ], it is treated literally. Likewise if the last character is [. So this should also work:
awk -F '[]/[]' '{print $(NF-2),$(NF-1)}'
And you aren't in \\\\\escape hell... :-)
Annihilannic
tgmlify - code syntax highlighting for...
I wrote a similar script in Perl to filter HP-UX syslogs. Basically it does something similar to a 'tail -f' on the log file, matches substrings and invokes various commands or logic based on what is matched.
It's too specific to our requirements to share here, but yours sounds equally...
I see you're trying over at Stack Overflow, but I concur with them, that code yields:
Jul 2014: data disk -delim :60000
...given your sample data. So something must be different with your real data. Did you make any progress since?
Annihilannic
tgmlify - code syntax highlighting for your...
Haha... unrelated, but reminds me, to combat Jehovah's Witnesses climing OVER our fence and knocking on the BACK door of our previous house (the front door was inside the garage...), we put up signs on the side gates:
Do you believe in life after death?
(Skull & Crossbones)
Trespass...
Or ESC+HOME... has more meaning, but is a combination you wouldn't use as much on a computer.
Annihilannic
tgmlify - code syntax highlighting for your tek-tips posts
Reminds me of the Little Johnny joke which prefaces this document:
http://brooklyn-wac.org/wp-content/uploads/2012/03/raimes-errors-windows-1991.pdf
...which happens to be interesting and relevant in itself!
Annihilannic
tgmlify - code syntax highlighting for your tek-tips posts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.