Search Results

Search: Posts Made By: wisecracker
Forum: What is on Your Mind? 1 Hour Ago
18
Posted By wisecracker
Exactly 1 year ago today, 18-09-2019...
This is mainly for Corona688, today's date 18-09-2019.
Remember from little acorns big trees grow a few months ago?
Well this is well on the way to 1000+ dls by the end of the year...
AMINET from...
Forum: Shell Programming and Scripting 6 Hours Ago
50
Posted By wisecracker
A dash to GOTO or a dash from GOTO, that is the question...
Well guys I saw a question about GOTO for Python.
So this gave me the inspiration to attempt a GOTO function for 'dash', (bash and ksh too).
Machine: MBP OSX 10.14.3, default bash terminal, calling...
Forum: Programming 2 Days Ago
190
Posted By wisecracker
Someone told me not that long ago that the next...
Someone told me not that long ago that the next big thing in computing are Regular Expressions.
Not needing such things in what I do using computers I thought, "Why, surely it is AI?"
Then I joined...
237
Posted By wisecracker
Your error report says that, AT, line 40, there...
Your error report says that, AT, line 40, there is something wrong with:
PATH=/tmp/bin:$PATH "$1"
Not knowing ANYTHING about the installer nor its aborted error 9666 then we have to guess.
is $1...
237
Posted By wisecracker
That is one truly bizarre statement. If you...
That is one truly bizarre statement.

If you really don't understand shell scripting WHY attempt to do a so-called fix.
Neo has given you a starter so let me make it a little clearer change/edit...
Forum: Programming 1 Week Ago
1,282
Posted By wisecracker
Hi stomp... (Apologies for typos.) I...
Hi stomp...
(Apologies for typos.)


I can give a few pointers as I designed the bash script 'AudioScope.sh' here: AudioScope Project....
Forum: Programming 1 Week Ago
1,282
Posted By wisecracker
A quicky everyone... Now tested on OSX... ...
A quicky everyone...
Now tested on OSX...

I don't know who as tried this out but you will notice that inside the white [DISPLAY] area at the top if the image, during an audio capture it turns...
Forum: Programming 1 Week Ago
1,282
Posted By wisecracker
Hi fellas and dames... (Apologies for any...
Hi fellas and dames...
(Apologies for any typos, etc...)

I have not been idle on this but I am on holiday/vacation and I only have limited www access AND Linux Mint 19, current updates as of...
564
Posted By wisecracker
for Hi pasc... Glad you have got a starter...
for Hi pasc...

Glad you have got a starter solution.
Remember though that there might be a reason the drawer names are in base 16 format.
Perhaps there could possibly be special characters in...
Forum: What is on Your Mind? 1 Week Ago
516
Posted By wisecracker
Terrific stuff Yoda... I still love your...
Terrific stuff Yoda...

I still love your coding style. It is so easy to read.
Congrats...

Bazza...
564
Posted By wisecracker
Hi MadeInGermany... Absolutely - BUT - we...
Hi MadeInGermany...

Absolutely - BUT - we are talking about Windows here and not UNIX, and the OP wanted it in Windows CMD[.EXE] or PowerShell.
I was showing the procedure, (rigmarole), as close...
564
Posted By wisecracker
To do this task is not trivial in CMD.EXE, I...
To do this task is not trivial in CMD.EXE, I don't know about PowerShell.
(Boy oh boy, the last time I did a '.BAT' file was in 2013 in AudioScope.sh.)

Here is the method used in CMD.EXE...
Forum: Shell Programming and Scripting 2 Weeks Ago
562
Posted By wisecracker
This uses '/usr/bin/printf' which is fully POSIX...
This uses '/usr/bin/printf' which is fully POSIX compliant.
Just use your 'printf':
#!/usr/local/bin/dash
# check.sh
# Use /usr/bin/printf as that is fully POSIX compliant.
# OSX 10.14.3...
#...
Forum: Shell Programming and Scripting 2 Weeks Ago
562
Posted By wisecracker
Fully POSIX compliant using OP's parameters: ...
Fully POSIX compliant using OP's parameters:
#!/usr/local/bin/dash
# check.sh
# $1 is '/fin/app/01/scripts\\n/fin/app/01/sql'

text=$( echo $( echo $1 ) )
echo $textResults using as before......
Forum: Shell Programming and Scripting 2 Weeks Ago
562
Posted By wisecracker
You could try something like this: Longhand OSX...
You could try something like this:
Longhand OSX 10.14.3, default bash terminal using 'dash'...
Last login: Tue Sep 3 18:18:39 on ttys000
AMIGA:amiga~> dash
AMIGA:\u\w> text='oiweroiweroi...
Forum: Programming 3 Weeks Ago
1,282
Posted By wisecracker
Hi MadeInGermany... Thanks for that info,...
Hi MadeInGermany...

Thanks for that info, 'system("command")' removed and your 'unlink...' line inserted in its place...
Forum: Programming 3 Weeks Ago
1,282
Posted By wisecracker
Hi drl... I tried your _graticule_ but it...
Hi drl...

I tried your _graticule_ but it reminded me of my Cossor 339[A] Oscillograph given to me when I was a young kid but reverted back again.
Well Quicktime Player is now capturing a signal...
138
Posted By wisecracker
How about:out_value=$( echo $0 | cut -c 9-11 )
How about:out_value=$( echo $0 | cut -c 9-11 )
Forum: Programming 3 Weeks Ago
1,282
Posted By wisecracker
Hi all... Modified greatly and now captures...
Hi all...

Modified greatly and now captures real bytes from '/dev/urandom' and displays the plots.
Removed system() function calls where possible, (compare with post #1).
Saves a 'config' file...
373
Posted By wisecracker
Knoppix decides to abandon 'systemd'...
Hi all...

Knoppix 8.6 first wide public release to abandon systemd - TechRepublic...
Forum: Programming 4 Weeks Ago
1,282
Posted By wisecracker
Hopefully this will not attach itsekf to the...
Hopefully this will not attach itsekf to the previous.

I will let this go as it is so far, to show I am not being idle with it...


#!/usr/bin/perl

#...
Forum: Programming 4 Weeks Ago
1,282
Posted By wisecracker
Hi MadeInGermany... I didn't try the Perl...
Hi MadeInGermany...

I didn't try the Perl builtin 'printf' as 'print' DID support terminal colours, so I made an assumption that 'printf' wouldn't plot either.

I will experiment with plotting...
Forum: Programming 4 Weeks Ago
1,282
Posted By wisecracker
My first PERL incarnation... Audio Oscillograph
Hi all...
Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default.
Many tricky terminal escape codes are not catered for so I had to create workarounds.
...
946
Posted By wisecracker
Hi rohit_shinez... Your expected output shows 3...
Hi rohit_shinez...
Your expected output shows 3 pipes at the end of the first line but the original has 4, is this correct?
1,220
Posted By wisecracker
As an addendum the 'bash' code works inside...
As an addendum the 'bash' code works inside 'dash' too, without alteration except the shebang to point to 'dash' so therefore it is POSIX compliant...
In this case Linux Mint #!/bin/dash , and in...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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