Search Results

Search: Posts Made By: elixir_sinari
Forum: Programming 06-10-2014
2,436
Posted By bakunin
Every programming language is an abstraction...
Every programming language is an abstraction layer between the bare machine and the human thought process. In some languages this layer is thicker than in others: in Assembler it is very thin (almost...
2,441
Posted By bakunin
If you are uncomfortable, then, by all means,...
If you are uncomfortable, then, by all means, don't use our service. It is as well understandable as it is perfectly within your rights not to seek help here.

The reason why we have this rule in...
3,071
Posted By MadeInGermany
Yes, I have already deleted that from my post.
Yes, I have already deleted that from my post.
2,569
Posted By Akshay Hegde
What is this ? do you know the rules of this...
What is this ? do you know the rules of this forum

(1) No flames, shouting (all caps), sarcasm, bullying, profanity or arrogant posts.

Here people are spending there time to help others, and...
1,838
Posted By alister
While there may be combinations of AWK...
While there may be combinations of AWK implementation and operating system on which your suggestion is faster, I compared it against its predecessor on two combinations and yours was slower...
Forum: What is on Your Mind? 06-23-2013
1,284
Posted By figaro
What would Johnny do?
This year is the 110th birthyear of John von Neumann (born "Neumann Janos"). Interestingly, despite his achievements, both in number and in profoundness, he is hardly known among the general public....
870
Posted By anbu23
$ echo Jun | awk ' {...
$ echo Jun | awk ' { printf("%02d",int(index("JanFebMarAprMayJunJulAugSepOctNovDec",$1)/3)+1) } '
06
Forum: Cybersecurity 06-06-2013
3,146
Posted By verdepollo
Plus, it's never secure enough: ...
Plus, it's never secure enough:

http://imgs.xkcd.com/comics/security.png
2,036
Posted By Don Cragun
Yes. However, there is no need to save the...
Yes. However, there is no need to save the contents of file in a variable. Just use the line:
$(cat geom.txt)in the here document instead of:
geo=$(cat geom.txt)before the here document and:...
1,922
Posted By alister
If you, yourself, the person for whom this task...
If you, yourself, the person for whom this task matters, cannot be bothered to try, why should any of us invest our time? Especially when there is no indication that you have taken any initiative to...
1,932
Posted By Don Cragun
We understand that the command: cat abc.txt |...
We understand that the command:
cat abc.txt | grep 123
prints any line in the file abc.txt that contains the string "123". We understand that the command:
grep 123 abc.txt
does exactly the same...
2,178
Posted By alister
\| is a GNU extension. There is no alternation...
\| is a GNU extension. There is no alternation operator in standard basic regular expression grammar. Outside of GNU (and Busybox, probably, since they explicitly model their implementation on GNU...
2,039
Posted By Yoda
hanson44, I noticed you are so against...
hanson44, I noticed you are so against "spoon-feeding" and even suggested adding a rule.

But how do you explain this thread...
3,004
Posted By hanson44
What's the error message? What's the specific...
What's the error message? What's the specific problem? And please send an example of the directory structure. Then the dears can help you. :D
Forum: What is on Your Mind? 04-12-2013
1,830
Posted By hanson44
Yes, sometimes the point seems to be to make a...
Yes, sometimes the point seems to be to make a one-liner as short and cryptic as possible. It celebrates the brilliance and creativity of the creator. The reader stands back in awe, in amazement that...
1,996
Posted By durden_tyler
perl -e 'print $_%10 for (1..132)' where...
perl -e 'print $_%10 for (1..132)'


where 132 is the length you are testing.
4,481
Posted By Don Cragun
Supposing that you have 1-3 digit user numbers,...
Supposing that you have 1-3 digit user numbers, you could also use:
awk '{print $2 }' ?.usr ??.usr ???.usr > data.txt
without needing to resort to sort and xargs. Obviously, you'll need more terms...
51,221
Posted By alister
I don't have time at this very moment to consult...
I don't have time at this very moment to consult an implementation's source or run some tests (I might in a few hours), but I would bet that you are wrong about this. The integral type with which...
Forum: What is on Your Mind? 02-21-2013
6,851
Posted By Corona688
I've been playing a flight simulator called...
I've been playing a flight simulator called Kerbal Space Program a lot lately. You build rockets and fly them. There's planets, moons (http://burningsmell.org/images/minmus.png), more moons...
11,765
Posted By bakunin
Contrary to the venerable Dons assumption i...
Contrary to the venerable Dons assumption i suppose the field 4 is the number you want to analyze. If i get you correctly your requirement is:

1. only lines with field3="chr3" as Don already...
2,970
Posted By Corona688
Kind of exactly how I've shown you. A="abc" ...
Kind of exactly how I've shown you.

A="abc"
B="def"

read $A$B <<<"string" ...should put the string "string" into the variable named abcdef.

This is how it's often used: read VARNAME ...but...
Forum: Solaris 01-31-2013
14,038
Posted By achenle
Just write an init script. It's simple,...
Just write an init script. It's simple, understandable, and even more important easily maintainable for someone in the future.

SMF services are none of that.

SMF services are great when you...
2,424
Posted By Don Cragun
There was a major difference in the behavior of...
There was a major difference in the behavior of the echo utility (or shell built-in) between 4.2BSD (from the University of California, Berkeley) and UNIX System V (from AT&T Bell Laboratories). In...
1,699
Posted By cero
Try to identify the file via inode number and...
Try to identify the file via inode number and delete it that way:
$ touch ' '
$ ls -i
4907244 4907245 file1.txt 4907246 file2.txt
$ find . -inum 4907244 -exec rm {} \;
$ ls -i
4907245...
5,330
Posted By MadeInGermany
The % character has a special meaning in crontab...
The % character has a special meaning in crontab entries.
man crontab
...You need to escape each % as \%;
'text1%text2' becomes 'text1'\%'text2' and "text3%text4" becomes "text3"\%"text4" (i.e....
Showing results 1 to 25 of 92

 

Featured Tech Videos

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