avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday June 6, 2020, 10:07 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dajo [ switch to compact view ]

Pages: prev1 [2]
Stefan mentioned SED and AWK, which are both command-line text manipulation tools.  SED is the simplest, and is best used for regular expression search and replace.  AWK is its own little programming language, and is a more powerful than SED, but much lighter than Perl.

I spent a lot of time exploring text manipulation tools a few years back.  I ended up using AWK and Perl for most things, but then I found Datamystic's TextPipe Pro (shareware, $299), for it's power and ease of use.  I became such a fan of the product that I have since become a reseller.

I might be able to work out a discount deal on TextPipe for DonationCoder members only... Mouser, I will contact you about this offline.

how about

echo "this is a line of text to add" >> c:\notes.txt

I use Regex Coach (free) to help me with tough regular expressions.

The Regex Coach is a graphical application for Linux and Windows which can be used to experiment with (Perl-compatible) regular expressions interactively. It has the following features:

    * It shows whether a regular expression matches a particular target string.
    * It can also show which parts of the target string correspond to captured register groups or to arbitrary parts of the regular expression.
    * It can "walk" through the target string one match at a time.
    * It can simulate Perl's split and s/// (substitution) operators.
    * It tries to describe the regular expression in plain English.
    * It can show a graphical representation of the regular expression's parse tree.
    * It can single-step through the matching process as performed by the regex engine.
    * Everything happens in "real time", i.e. as soon as you make a change somewhere in the application all other parts are instantly updated.

Mouser's Zone / Re: Any new ideas for small utilities?
« on: July 03, 2005, 04:07 PM »
Whenever I disconnect my USB drive using the tray icon like a good Windows user, Windows says "Dude, you can't disconnect your drive now.  Try again later."  Well usually I am trying to disconnect my drive because I want to leave now not later.  Anyway it usually lets me disconnect if I try again immediately.  Although, sometimes it won't let go no matter what I do, and I have to shut down Windows to detach my drive safely.

So what's the idea for a small utility?  How about a usb drive disconnector tray applet that keeps trying to disconnect instead of saying "Try later"?  Or if it can't disconnect the drive, wouldn't it be nice if it would tell you why?  Like maybe you are sitting on a file, or you've got a subst on the drive or whatever.

Mouser's Zone / Re: Any new ideas for small utilities?
« on: July 03, 2005, 03:25 PM »

How about a system volume scheduler? 

I hate it when I hit a web site with a loud midi background theme at 2 AM and wake up everybody in the house.

The interface could be a little line-chart, with volume % vertically and hours of the day horizontally.  The user could draw the volume level by drawing a line across the chart.

Pages: prev1 [2]