Search Results

Search: Posts Made By: jlliagre
Forum: What is on Your Mind? 10-30-2019
80,423
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: What is on Your Mind? 10-15-2018
68,653
Posted By Neo
Status of UNIX.COM Forum Transformation
Having spent a lot of time over the past year taking a legacy vBulletin site (this forum) and making the site responsive on mobile; I've happy with the results; but it will soon be time to move on.
...
Forum: Solaris 11-06-2015
6,036
Posted By agent.kgb
@jlliagre $ echo ${.sh.version} Version...
@jlliagre


$ echo ${.sh.version}
Version M 93t+ 2009-05-01
$ printf "%T\n" now
Fri Nov 6 10:47:33 CET 2015
$ printf "%T\n" yesterday
Thu Nov 5 00:00:00 CET 2015
$ printf "%T\n" "last...
33,365
Posted By Perderabo
Ygor's solution will work with ksh95 or pdksh. ...
Ygor's solution will work with ksh95 or pdksh. But ksh88 only expands variables...it won't do a general parse. I am not real fond of invoking the date command with each each display of the prompt....
4,832
Posted By Scrutinizer
Depending on your locale, you can do something...
Depending on your locale, you can do something like this:

$ printf "%'d\n" 1000
1,000
3,536
Posted By Corona688
When commandline printf runs out of arguments in...
When commandline printf runs out of arguments in the command string, it repeats the command string. Try this:

printf "%s\n" a b c d e f g h i j k l m n o p q r s t u v w x y z
Forum: What is on Your Mind? 12-24-2012
20,471
Posted By Neo
Merry Christmas!
https://www.unix.com/members/neo-albums-forum-pics-picture567-merry-christmas.png
Forum: SCO 09-14-2012
35,116
Posted By jgt
unix:/# cat /tmp/lst ...
unix:/# cat /tmp/lst
du -a /proc
0 /proc/0/ctl ...
284,315
Posted By Corona688
I get tired of hearing ksh being called...
I get tired of hearing ksh being called "portable" when it's available almost nowhere I go unless I install it myself, and people keep banging their heads on ancient versions which have almost none...
4,945
Posted By Scrutinizer
@jlliagre, we would need some parentheses, no? ...
@jlliagre, we would need some parentheses, no?
if [ $(echo "if (1.1 == 1.10) 0 " | bc) -eq 0 ]; then echo "great"; else echo "no go"; fi
But still, this would leave us with an error message in test...
Forum: Solaris 12-19-2011
2,643
Posted By hergp
Shouldn't that be echo init 5 | at now +2...
Shouldn't that be

echo init 5 | at now +2 days

??
Forum: Solaris 08-04-2011
12,760
Posted By mcarpenter
Hi, Author of the ckwtmpx program mentioned...
Hi,

Author of the ckwtmpx program mentioned above here.

This is correct. However there were a couple of things that I found sub-optimal:

1. wtmpfix(1M) is too aggressive. I have a test...
Forum: Solaris 01-04-2011
4,287
Posted By m.d.ludwig
Just as a thought, it may be worth it to change...
Just as a thought, it may be worth it to change BOTH users to new uids. You'd have to change all the files owned by either user to the appropriate new uid. But six months from now, when you find a...
21,241
Posted By fpmurphy
Correct me if I am wrong but I thought the -R...
Correct me if I am wrong but I thought the -R option indicated that fdisk should treat the disk as read-only.
2,125
Posted By michaelrozar17
to replace at the 49th field/occurence of pipe...
to replace at the 49th field/occurence of pipe symbol ( | )
sed 's/|/|||/49' inputfile
2,737
Posted By DGPickett
The t saves/prevents looking for B if you find A....
The t saves/prevents looking for B if you find A. While this list is trivial, longer lists can be created with the most likely at the top to save processing, when you do many possible transforms.
Forum: Solaris 10-26-2010
11,136
Posted By hergp
I wouldn't recommend to go with fixed settings on...
I wouldn't recommend to go with fixed settings on both sides, this is yesterday's technology. It is better to use auto negotiation on both sides. For gigabit ethernet, autonegotation is mandatory by...
284,315
Posted By Corona688
Yes, it is a nitpick, because you're not pointing...
Yes, it is a nitpick, because you're not pointing out a broken or missing feature: You're just complaining that it's not ksh. I do multi-line editing quite frequently. BASH substitutes semicolons...
Showing results 1 to 18 of 18

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