Search Results

Search: Posts Made By: wisecracker
Forum: Programming 1 Day Ago
183
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...
215
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...
215
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,257
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,257
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,257
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...
543
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
497
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...
543
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...
543
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...
533
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
533
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
533
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 2 Weeks Ago
1,257
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 2 Weeks Ago
1,257
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...
137
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,257
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...
371
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,257
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,257
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,257
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.
...
Forum: Shell Programming and Scripting 4 Weeks Ago
918
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,193
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...
1,247
Posted By wisecracker
I disagree, the image distinctly shows a DIAMOND,...
I disagree, the image distinctly shows a DIAMOND, period.
Your code:
bazza@amiga-MacBookPro:~/Desktop/Code/Shell$ ./DIAMOND_CXL.sh
Enter the mininum number: 4
Enter the maximum number: 7
* *...
Forum: OS X (Apple) 08-12-2019
2,212
Posted By wisecracker
About the Apple T2 Security Chip - Apple Support...
About the Apple T2 Security Chip - Apple Support (https://support.apple.com/en-gb/HT208862)

It makes the platform unable to install Linux, """apparently""" on external drives too.

There is...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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