10-11-2019
Hi Neo...
Thanks for the comments...
I hadn't even thought about it. I only do these tasks because when searching there are SOOO many people asking for solutions to problems like these.
I really love it when one of our big guns modify the ideas to make them better, the GOTO fun project is but one.
I don't look at the subtleties like the pros' do as I am more interested in solving them, usually relatively naively.
The PURE ksh[93] DFT is a prime example on here too, boy did I learn a lot from Corona688 there.
They are mainly for the AMIGA because we don't have these luxuries on that platform. My next challenge for a POSIX shell is a DWT, (Discrete Wavelet Transform), already done for AMIGA Python 1.4.0 right up to current 3.8.0 on any platform because 'pywt' was not even around for the AMIGA. We don't have 'numpy' or 'scipy' or any others so I do these primarily for that machine.
I love the idea of a vivid colour like MAGENTA because if a problem is searched for and the researcher is pointed to here it catches one's eye. It only needs to plant the idea to the researcher and, (if bright enough), [s]he should be able to do the rest.
I will add to this thread a simple idea for find the SQRT of a pseudo-floating point number and its limitations.
I not bothering with complex number solutions as no genius is required for that modification, especially after I have mentioned how to do it.
And to finish, a great idea.
Bazza...
2 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am using RHEL 6.1 on VMware
I am searching for a way to change background color (not line by line color wich one can using tput command)
basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies
2. Shell Programming and Scripting
I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help
File:
<xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies
tag(3tcl) tag(3tcl)
NAME
tag - Manipulate tagged files
SYNOPSIS
tag option ?arg arg ...?
DESCRIPTION
The tag procedure provides a number of options for manipulating tagged files.
COMMANDS
tag readfile filename
Reads the file with the given filename and returns a list where each list element is a tag record, which is represented by a list of
label-value pairs, or label-value-endlabel triples.
The tag header is the first element returned.
tag writefile filename list
Takes a list in the format used internally in tcl programs for tagged data and writes it as a tagged file.
tag extract list tests
Takes a list in tagged format, and a list of conditions, and returns a new list in tagged format which contains those tag records
which match the conditions.
The tests is a list of test items, each of which is a list of the form { labelname condition matchvalue }
The conditions are
== String equals
!= String not equal
<= Less than or equal
-in Is the test value a member of the list given as the matchvalue
-contains
Does the match value contain the test value as a case insensitive substring.
-earlier
Date earlier
-later Date later - dates are in ISO format (yyyy-mm-dd [hh:mm:ss]).
-exists
Does the label exist in this record.
BUGS
tag readfile reads the whole file into memory before turning it into a list. Should be more memory efficient.
The -earlier and -later comparisons require TCL8.3
AUTHOR
John Lines (john@paladin.demon.co.uk)
July 3, 2000 tag(3tcl)