Search Results

Search: Posts Made By: wisecracker
402
Posted By RudiC
Here you are: awk ' !(a[$1]) {a[$1]=$0...
Here you are:
awk '
!(a[$1]) {a[$1]=$0 # if array element indexed by $1 is unset or 0, set it to
# the line (i.e....
Forum: What is on Your Mind? 1 Week Ago
482
Posted By Neo
Please Welcome Simon Sweetman (Chubler_XL) to the Moderator Team
Happy Thanksgiving Holidays,

Today, I am happy to welcome Simon Sweetman (Chubler_XL) (https://www.unix.com/member_modal.php?u=302085178) to the Moderation Team to help provide us some important...
403
Posted By Peasant
For DIY ... you can get a small ARM board with...
For DIY ... you can get a small ARM board with sim slot with linux installed.
Buy a sim card or make a contract, like for regular phone.

Using opensource software such as Gammu...
517
Posted By Chubler_XL
You should still be able to do: $...
You should still be able to do:
$ D2B=({0,1}{0,1}{0,1}{0,1}{0,1}{0,1}{0,1}{0,1})
$ echo ${D2B[256-127]}
or$ echo ${D2B[${#D2B }-127]}
806
Posted By drl
Hi. I think those of us who use macos may...
Hi.

I think those of us who use macos may need to get used to zsh. Here is a demo zsh script that was run on Mojave, not using eval:
#!/usr/bin/env zsh

# @(#) z1 Demonstrate feature.
...
517
Posted By Neo
Please check this (above) for accuracy... thanks.
Please check this (above) for accuracy... thanks.
517
Posted By nezabudka
D2B=({0,1}{0,1}{0,1}{0,1}{0,1}{0,1}{0,1}{0,1}) ...
D2B=({0,1}{0,1}{0,1}{0,1}{0,1}{0,1}{0,1}{0,1})
echo ${D2B[-127]}
587
Posted By RudiC
How about $ BITS=16 $ VALUE=-127 $ for...
How about
$ BITS=16
$ VALUE=-127
$ for ((i=BITS; --i>=0;)); do printf "%d" $(( ${VALUE%%[0-9]*}(VALUE>>i)%2 )); done; printf "\n"
1111111110000001
587
Posted By Chubler_XL
I think adding any negative numbers to 256 should...
I think adding any negative numbers to 256 should get the desired result.

(I believe this should work OK in bash 3.2.x but dont have that version to confirm).

# decimal2binary.sh...
Forum: Shell Programming and Scripting 3 Weeks Ago
482
Posted By saps19
Hi Wisecracker, Thank you, this is worked...
Hi Wisecracker,

Thank you, this is worked and I can live with this :) .
import os
sys=os.sys
sys.path.append("/path/to/config")
from test_properties import *
params=paramsOriginal...
808
Posted By nezabudka
awk -F'<<|>>' '{while((getline d<$2) >...
awk -F'<<|>>' '{while((getline d<$2) > 0){while((getline b<$4) > 0) print $1 d $3 b $4; close($4)}}'
630
Posted By RudiC
I get the same results as you do applying your...
I get the same results as you do applying your script to your sample data. But, not knowing WHAT formula to apply under which conditions, I can't tell "what (you're) ... doing is right." And, I'm...
Forum: Web Development 4 Weeks Ago
784
Posted By Akshay Hegde
I am happy to be part of forums and your...
I am happy to be part of forums and your leadership team, finally it’s solved, once bots reindex sitemap everything should be fine.
Forum: Web Development 4 Weeks Ago
784
Posted By Neo
302 Redirects Issues Effected Google Search Console (GSC) Fixed - DBSEO Goto Rewrite Problems Solved
Finally!

Yesterday I FINALLY figured out why Google Search Console (GSE) was showing so many pages with 302 redirects in our link budget. For over a year, I thought this issue was relate to...
Forum: What is on Your Mind? 4 Weeks Ago
893
Posted By Neo
1000+ Computer Science Trivia Questions at UNIX.COM
The UNIX and Linux Forums now has over 1000 TRUE / FALSE computer science and computer related trivia question in our database. These questions are of relatively high quality (compared to similar...
Forum: Linux 4 Weeks Ago
492
Posted By vbe
Greetings, and welcome! This is not a forum...
Greetings, and welcome!

This is not a forum for Hackers so if that is your purpose, it is pointless to post here, you will be banned very shortly...

You mention you are in the process of...
Forum: Programming 4 Weeks Ago
4,413
Posted By stomp
Hi, short notice from my side: For a...
Hi,

short notice from my side:

For a current project I decided to use Perl. The platforms are Linux / Red Hat 5/6/7/+future Versions. The reason I chose it, where:

Available on all target...
Forum: What is on Your Mind? 11-03-2019
1,030
Posted By drl
Hi. Slow, but still impressive. Might...
Hi.

Slow, but still impressive.

Might be an interesting project to run on a simulator:

VICE - the Versatile Commodore Emulator (http://vice-emu.sourceforge.net/)
or something similar.
...
Forum: What is on Your Mind? 10-30-2019
1,199
Posted By gull04
Hi Folks, I'd like to convey my thanks to...
Hi Folks,

I'd like to convey my thanks to all of you for this opportunity and hopefully I'll be able to contribute to the team.

Regards

Gull04
Forum: What is on Your Mind? 10-30-2019
1,199
Posted By Peasant
HAL9000 : Welcome Dave :) Regards Peasant.
HAL9000 : Welcome Dave :)

Regards
Peasant.
Forum: What is on Your Mind? 10-30-2019
1,199
Posted By Neo
Please Welcome Dave Munro to the Moderator Team!
Dear All,

I am very pleased to announce that Dave Munro (gull04) (https://www.unix.com/member_modal.php?u=37127) is joining the Moderation Team, after being a very valuable member of UNIX.com for...
Forum: Programming 10-27-2019
4,413
Posted By Neo
Having "said all that" and "read all that" .......
Having "said all that" and "read all that" .... and now veering off topic ....

I have always admired people who "do" versus those who talk about "doing". Everyone "talks".... but "doing the...
Forum: OS X (Apple) 10-26-2019
1,282
Posted By drl
Hi. Thanks to Scrutinizer for starting this...
Hi.

Thanks to Scrutinizer for starting this (and possibly to wisecracker for an earlier note).

My collection of links is below, in no specific order of usefulness.

My current interest in...
1,571
Posted By stomp
[TIP] Processing YAML files with yq
After the success of the jq - tool for parsing and manipulating JSON-Data someone wrote a tool called yq, which aims to be the same for YAML, what jq is for JSON. Seems to work fine. I'll definitely...
1,850
Posted By RudiC
Then, why not bc <<< "$num1 > $num2" ...
Then, why not
bc <<< "$num1 > $num2"
1?
Showing results 1 to 25 of 500

 

Featured Tech Videos

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