Search Results

Search: Posts Made By: Franklin52
Forum: What is on Your Mind? 01-03-2016
14,925
Posted By Peasant
Thank you members and admins
Got a raise and a formal position of 'unix system engineer' in 2016.
I would like to thank you members and admins.
This would not be possible without you.

I will mention some..

Thank you...
11,009
Posted By Scrutinizer
$i should be wrapped in double quotes to avoid...
$i should be wrapped in double quotes to avoid field splitting or other interpretations by the shell. If there are files with spaces for example, they will break your script..
Forum: What is on Your Mind? 12-16-2014
2,504
Posted By Corona688
Wow, I was watching for that and somehow missed...
Wow, I was watching for that and somehow missed it! Thank you everyone! Still glad to be here.
Forum: What is on Your Mind? 12-16-2014
2,504
Posted By Neo
Congratulations to Corona688 for 20,000 Posts!
Please join me in congratulating and thanking Corona688 for 20,000 top quality posts at unix.com !

https://www.unix.com/members/1-albums112-picture651.png
8,358
Posted By sea
[FUN] Numbers to Roman letters/num
Heyas

Just a little fun script (code block) i'd like to share for fun.
#/bin/bash
# roman.sh
#
# Function
#
num2roman() { # NUM
# Returns NUM in roman letters
#
input=$1 # input num...
1,232
Posted By Don Cragun
Yes. If there is a chance that the first field...
Yes. If there is a chance that the first field could contain any characters that are special in an extended regular expression, you would need to not only change: sub($1,x) to: $1=x, but also to...
8,311
Posted By Chubler_XL
@Franklin52 - I considered that approach as well,...
@Franklin52 - I considered that approach as well, however it doesn't put blank entry in field #1 when lookup fails:
22,763
Posted By Don Cragun
Which is more simply written as: sed 's/[^,]*,...
Which is more simply written as:
sed 's/[^,]*, //' file
Which is where we started, except the code given in the 1st message in this thread was intended to handle cases where the field separator was...
1,956
Posted By Akshay Hegde
Do not post classroom or homework problems in the...
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this (https://www.unix.com/homework-coursework-questions/) forum under special...
2,124
Posted By bakunin
I suggest you start over learning shell basics....
I suggest you start over learning shell basics. What you write here reveals a deep non-understanding of how the expansion of file names (aka "file globbing") in the shell works. You have fallen into...
10,537
Posted By zaxxon
Closing the thread - the Op will not be able to...
Closing the thread - the Op will not be able to answer anymore in this forum.
Forum: What is on Your Mind? 04-11-2014
1,230
Posted By Akshay Hegde
The best place to discuss these abstract and...
The best place to discuss these abstract and non-technical career related questions is in our LinkedIn group...
Forum: Web Development 03-19-2014
4,345
Posted By Neo
Botnet Victims Map
Our site is currently "under abuse" from a botnet which is directing a small subset of internet users (not forum users) to a rarely used full page advertising URL and attempting to redirect the user,...
Forum: What is on Your Mind? 02-16-2014
1,015
Posted By Perderabo
The ISS has upgraded to Linux
Remember this thread (https://www.unix.com/what-your-mind/161108-unix-linux-used-space-exploration.html) from a few years ago? What a difference just a few years make!

Those laptops I mentioned...
3,227
Posted By Corona688
You are incorrect in several ways here. cat...
You are incorrect in several ways here.

cat does not do anything here. Your scripts would do the same thing without it.
cat is useless here. Your scripts would be shorter and simpler without...
3,227
Posted By Don Cragun
Using: cat file | grep expression uses...
Using:
cat file | grep expression

uses two processes,
causes the data in file to be read by cat, written by cat, and read again by grep, and
runs slower

than using:
grep expression file...
1,506
Posted By anbu23
What have you tried so far?
What have you tried so far?
5,756
Posted By vgersh99
Why don't you try and see what happens...
Why don't you try and see what happens...
2,266
Posted By Akshay Hegde
Elegant Solution! Franklin52 :b:
Elegant Solution! Franklin52 :b:
4,023
Posted By alister
What I think the standard says (whether or not it...
What I think the standard says (whether or not it matters, is another matter).

POSIX mandates doubles for all AWK numerics [1]:


So, at least at the outset, the valid integral range is...
7,958
Posted By alister
From the mawk changelog: 20121129 ... ...
From the mawk changelog:

20121129
...
+ add systime and mktime functions
...
+ integrate strtime function (patch by Dominic Letz).

Regards,
Alister
7,958
Posted By Corona688
I recently learned otherwise. Recent versions of...
I recently learned otherwise. Recent versions of mawk have borrowed this useful feature, possibly because some Linux distributions have taken to mawk as a faster substitute for GNU awk.
Forum: What is on Your Mind? 12-31-2013
1,489
Posted By Neo
Happy New Year 2014 - Tapatalk Reinstalled
Tapatalk has been reinstalled for 2014.

Happy New Year!
Forum: What is on Your Mind? 12-24-2013
1,358
Posted By RavinderSingh13
Merry christmas to all. Thanks, R....
Merry christmas to all.


Thanks,
R. Singh
Forum: What is on Your Mind? 12-24-2013
1,358
Posted By Akshay Hegde
Merry Christmas And Happy New Year
I wish all Administrators,Moderators, Code Taggers, all members and followers of this forum that Santa brings you the gift of never ending happiness this Christmas!
May you and your family be...
Showing results 1 to 25 of 83

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