15,179 reputation
12352
bio website
location
age
visits member for 3 years, 11 months
seen 7 hours ago

The views expressed on this web site are my own and do not necessarily reflect the views of my employer, Oracle.

profile for jlliagre on Stack Exchange, a network of free, community-driven Q&A sites


19h
comment Will a shell script execute in Solaris? if not, which is the fastest way to make it compatible
@KeithThompson That's indeed the problem. /bin/sh is the original non POSIX legacy Bourne Shell. It breaks with most current /bin/sh scripts thus /usr/xpg4/bin/sh should be used.
19h
comment Will a shell script execute in Solaris? if not, which is the fastest way to make it compatible
@KeithThompson That will be a problem with Solaris. The expected answer is to use #!/usr/xpg4/bin/sh unfortunately, I can't post it as a reply as the question has been closed.
19h
comment Will a shell script execute in Solaris? if not, which is the fastest way to make it compatible
Not sure why this was accepted as this is not the correct reply. On Solaris, /usr/bin is a symbolic link to /bin so #!/bin/sh and #!/usr/bin/sh work identically .
1d
answered How to remove file with mv command?
Oct
21
answered Howto adapt this bash construct to a sh valid construct
Oct
19
answered Adding entries to the end of a row via awk
Oct
17
revised What does “pollsys” mean? Solaris “truss” output
added 10 characters in body
Oct
17
comment Why is chromium-browser killed when I close the terminal despite nohup?
You should tell more about your environment. I don't reproduce your test case.
Oct
16
revised Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
added 23 characters in body
Oct
16
comment Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
@G-Man Thanks for commenting. Answer updated to provide an answer, more explanations and a workaround.
Oct
16
revised Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
added 113 characters in body
Oct
16
comment Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
@Patrick My assertion is right. Read closely the last paragraph of pubs.opengroup.org/onlinepubs/9699919799/utilities/…
Oct
16
revised Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
added 113 characters in body
Oct
16
comment Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
Down voters should think twice ... or at least leave a comment.
Oct
16
revised Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
added 184 characters in body
Oct
16
answered Why does “$ sudo echo 'yo' ” work even though echo is a shell built in function?
Oct
15
comment Why does the 'user' and 'sys' time vary on multiple executions?
Again, what operating system are you using?
Oct
14
comment Why does the 'user' and 'sys' time vary on multiple executions?
What OS are you using ? What is dummy_app doing ?
Oct
12
answered How to change behavior from cyclic windows toggling to the latest windows toggling on solaris
Oct
11
answered What are the types of ~, ~-, ~+, *?