Messages - bit [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7 8 ... 114next
General Software Discussion / Re: macro to edit a .txt file?
« on: September 29, 2015, 06:48 PM »
Well, I didn't say sed was easy ;D

You'd get the desired result by using this command-line:
Code: Text [Select]
  1. sed -r -e 's/[0-9"]//g' input-file >output-file
Or optionally add the -i parameter and remove the '>output-file' part to do a destructive, in-place, replacement in multiple input-files but not keeping the original file(s).
I clicked on 'Select', and copy & paste highlighted string into top window of SedTester, then pasted sample text in which each line is consecutively numbered into first large window.
Second large window says:
sed: -e expression #1, char 26: Unterminated 's' command
Error 1

I tried individually checking each check box, but no success yet.
Tnx. Over to you?

General Software Discussion / Re: macro to edit a .txt file?
« on: September 29, 2015, 07:23 AM »
I thought of a possible alternate method to eliminate numbers, but it won't work so far.
My desired application is to use TextAssist v.4.0 (i.e. TA) for text-to-speech playback on text that has every line consecutively numbered.
TA allows the use of specialized 'speech dictionaries' (suffix '.tad') in which you can set it up to substitute words in speech.
For instance, a hypothetical 'block.tad' speech dictionary may be selected, and the word 'cube' in print, can be set up to be spoken as 'block'.
Thus; "I found a cube," in print, would be spoken, "I found a block."
So I tried creating a 'no numbers.tad' speech dictionary, and entered numbers 0 through 9, with no spoken equivalent, the idea being to induce TA to say nothing when encountering numbers.

But some entries seem to be hard-wired, and the attempt failed.
I've tried to find where these hard-wired entries are located in a TA program file, without success.
If I could open and edit the hard-wired entry list, perhaps a separate copy of TA might be set up, with a backup original copy preserved.

So it was a thought, but I have no idea how it might be done.

General Software Discussion / Re: macro to edit a .txt file?
« on: September 28, 2015, 10:40 PM »
^With apology, I tried Sed and even viewed a nice yt 'how to' about it, but it seems a little too technical for me.
Tnx just the same.

General Software Discussion / macro to edit a .txt file?
« on: September 28, 2015, 01:27 AM »
I could sure use a simple program snack or 'macro' that allows me to delete numbers 0 thru 9, and the quote marks, in a .txt file, with just a few clicks.  :-*

Living Room / Re: Possible rootkit attack
« on: September 28, 2015, 12:12 AM »
^Heh.  ;D What shall we do with a drunken sailor...
The BIOS boot pop-up is found to be a legitimate ASUS mobo 'case open' mssg.
I found and disabled it, and time will tell, but I suspect now that was the problem.
OTOH, my clock continues to be goofy and I think I really need to check out a new CMOS battery.  :Thmbsup:

Pages: prev1 2 [3] 4 5 6 7 8 ... 114next
Go to full version