Search Results

Search: Posts Made By: Scrutinizer
Forum: What is on Your Mind? 1 Day Ago
288
Posted By RavinderSingh13
Thanks a TON Neo for giving me this GREAT honor...
Thanks a TON Neo for giving me this GREAT honor :b:, its always an honor to be a member of this GREAT site :b:, whatever I know in scripting/*nix I learnt from this forum/site and whatever way or...
224
Posted By Nexeu
It works! Thank you so much Scrutinizer! So...
It works! Thank you so much Scrutinizer!

So the solution is as follows:
tag -0 -f "Note" . | xargs -0 -I {} rename 's|(.*)/|$1/.|' {}
Forum: What is on Your Mind? 2 Days Ago
288
Posted By Neo
Moderators of the Year 2019 - Ravinder Singh and Victor Berridge
Today, I am very pleased to announce that the Moderator of the Year Award, 2019 has two very deserving winners.

Ravinder Singh (RavinderSingh13) and Victor Berridge (vbe)

Victor (vbe) has...
270
Posted By RudiC
How about (not THORUOGHLY tested!): $ L1=( a...
How about (not THORUOGHLY tested!):

$ L1=( a b c d i f gg )
$ L2=( 1 2 13 )
$ for i in ${!L1[@]}; do echo ${L1[i]}${L2[i%${#L2[@]}]}; done
a1
b2
c13
d1
i2
f13
gg1
Pipe through paste -sd"...
Forum: Shell Programming and Scripting 2 Weeks Ago
477
Posted By MadeInGermany
Can be done as a { } group. (Note: there must be...
Can be done as a { } group. (Note: there must be a semicolon or newline before the closing brace! And of cause spaces next to the [ ] { } )
if [ -f ./file2 ] && [ -f ./file3 ] && { [ -f ./file1 ]...
354
Posted By Aia
One way in Bash could be: n=$(printf "%-9s"...
One way in Bash could be:
n=$(printf "%-9s" 2457)
printf "%s\n" ${n// /0}
245700000
Forum: What is on Your Mind? 2 Weeks Ago
521
Posted By Neo
Vintage!!! Jimmy Page/Jeff Beck/Eric Clapton-Stairway to Heaven
You must watch this music video.

Jimmy Page/Jeff Beck/Eric Clapton-Stairway to Heaven (https://youtu.be/wKlEVtA_TGQ)

https://youtu.be/wKlEVtA_TGQ

Long before there was surveillance...
Forum: What is on Your Mind? 3 Weeks Ago
156
Posted By Neo
2020 - Such a great year for everyone is here! ...
2020 - Such a great year for everyone is here! Live long and prosper!

7952
833
Posted By RudiC
Even if the file is moved between file systems,...
Even if the file is moved between file systems, there should not be a problem as long as the file is kept open. Even though the file and it's contents ARE moved by the mv command, the OS keeps the...
Forum: Shell Programming and Scripting 4 Weeks Ago
832
Posted By nezabudka
Hi look at this way declare -i...
Hi
look at this way
declare -i AnzahlUeberstunden
AnzahlUeberstunden=$(date -d "$JAHR-$MONAT-$TAG $ArbeitEnde" +%s)-$(date -d "$JAHR-$MONAT-$TAG $NormalesArbeitsEnde" +%s) #"tags" are not needed...
Forum: What is on Your Mind? 4 Weeks Ago
758
Posted By Neo
Similar Threads for Man Pages - In Development
FYI,

I have been quietly updating the man page database adding "similar threads" for man pages.

STEP 1: Full Text MySQL DB Search Matches

The first step, after creating the DB columns, was...
Forum: What is on Your Mind? 12-18-2019
798
Posted By Neo
UNIX.com End of Year (EOY) Report (2019)
Here is a quick EOY report for 2019.

2019 has been a year of "downward trend reversal" for UNIX.com. In fact, if we compare total Google search impressions from the peak days in December 2019...
1,018
Posted By RavinderSingh13
Hello kshitij, Could you please try...
Hello kshitij,

Could you please try following. Written and tested with GNU awk and GNU sort.


awk '
/^[0-9]+/{
val=$NF
}
{
print val "@" $0
}' Input_file |
sort -t'@' -nrsk1,1 |...
749
Posted By foad
It is quite simple: you need a (recursive) parser...
It is quite simple: you need a (recursive) parser for this, the same way the language is interpreted (i suppose?) by one. I suggest to retrieve your yacc utility and start writing...


If you are...
Forum: Web Development 11-09-2019
2,743
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: OS X (Apple) 10-26-2019
2,133
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...
2,757
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...
Forum: What is on Your Mind? 10-11-2019
2,980
Posted By Neo
Have changed to "DarkGreen" for the time being. ...
Have changed to "DarkGreen" for the time being. Magenta was giving me a headache LOL . DarkOrange, Purple, Indigo and Navy did not seem to work out as well as DarkGreen.
Forum: What is on Your Mind? 10-05-2019
3,273
Posted By Neo
Please Welcome Nicki Paul to the Moderator Team!
Dear All,

I am very pleased to inform everyone that Nicki Paul (zxmaus) (https://www.unix.com/member_modal.php?u=302041733&modal=1) is joining the Moderation Team after a number of years away from...
Forum: What is on Your Mind? 09-28-2019
3,414
Posted By Neo
CORS Vulnerability Report by Pankaj Kumar Thakur (Nepal)
Yesterday we kindly received a CORS security bug report from Pankaj Kumar Thakur (https://www.unix.com/member_modal.php?u=302183033&modal=1) (Nepal).

I have fixed the bug already and Pankaj has...
3,634
Posted By MadeInGermany
No, the awk default is to print the whole line if...
No, the awk default is to print the whole line if there is a true condition outside an { action } and not followed by an { action }.
Post#1 should work as intended.

I rather suspect that the...
Forum: What is on Your Mind? 09-19-2019
3,696
Posted By Neo
YouTube: How to Use Code Tags and Format Posts @UNIX.com
By special request, and long overdue, I have updated our "code tags" video and so now we have:

How to Use Code Tags and Format Posts @UNIX.com in 4K (https://youtu.be/4BuPvWJV__k)
...
Forum: Programming 09-15-2019
957
Posted By RavinderSingh13
Regarding a GREAT site for understanding and Visualizing regex patterns.
Hello All,

While googling on regex I came across a site named Regulex Regulex´╝ÜJavaScript Regular Expression Visualizer (https://jex.im/regulex/#!flags=&re=%5E(a%7Cb%7Cc)(%5B%5E%40%5D*)%40(.*))
I...
2,828
Posted By MadeInGermany
As a professional you should expect the...
As a professional you should expect the unexpected.
What happens if the read fails or the "inet" is not found?
The following ends the loop if the read fails.
while
read inet ip &&
[ "$inet"...
1,203
Posted By rdrtx1
[[:digit:]]E[[:digit:]]
[[:digit:]]E[[:digit:]]
Showing results 1 to 25 of 500

 

Featured Tech Videos

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