DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
Old 18th October 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

i honestly cannot believe this thread is alive still :S

It seems my rant threads create a lot of traffic on these forums
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
Old 8th April 2009
bigearsbilly bigearsbilly is offline
New User
 
Join Date: Mar 2009
Posts: 9
Default

bash --posix doesn't work
e.g
export X=y
should error in a sh script, it don't.

I had trouble with scripts for linux on Solaris.
though /bin/ksh usually does it.

I hate colours too, except in gvim.
If I didn't need to use openoffice for word docs (no, abiword doesn't work properly) and occasionally
look at youtube I wouldn't use solaris or linux at all at home.
(well maybe solaris)
Reply With Quote
Old 9th April 2009
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 377
Default

Quote:
Originally Posted by bigearsbilly View Post
If I didn't need to use openoffice for word docs (no, abiword doesn't work properly)
Use GoogleDocs.
Reply With Quote
Old 9th April 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Quote:
Originally Posted by bigearsbilly View Post
bash --posix doesn't work
e.g
export X=y
should error in a sh script, it don't.
I don't know of any current bourne or korn based shell that doesn't allow export X=y. POSIX mode for bash deals more so with making bash mimic the standards behavior for things like output formats and file searches; then actually turning stuff off. For a long time, I wondered why everyone wrote 'FOO=bar; export FOO' when 'export FOO=bar' works everywhere. Then I tried shells/v7sh, and was enlightened.



Really if you want a truly portable sh script, you have to find a suitable LCD. Most of the fun stuff didn't exist until like System III or 4.3BSD or so, and most shells that I've seen around seems to be as good as SysV family or later. I think solaris uses a SVR4 based sh. Most of the really fun stuff was added later or pioneered by csh.


For super portability, you can't use named() { functions }, $(( arithmetic substitutions )), command aliases, shell history, directory stacks, no $( command substitutions ) instead of `back {quote,ticks,tocks,whatevers}`, more restricted here-doc, redirection, and ${ variable expansion } syntax and shell globing would basically limited to the * and ? metacharacters for most purposes. Not to mention that 'array' like data structures in portable sh scripting amounts to constructs like `for word in words ...; do something -with $word; done`
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 28th May 2009
evilunixuser evilunixuser is offline
Real Name: stan broniszewski
Port Guard
 
Join Date: May 2009
Location: new jersey, usa
Posts: 12
Default reversed monitor

Quote:
Originally Posted by JMJ_coder View Post
Hello,





C'mon - green on black!!!
I remember the days where a monitor sported yellow (gold) alpha/numberic characters (akin to my early days of using Turbo Pascal)). Also, back in the days there was a white-ish type screen and black characters would be shown.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux compat and linux-only drivers fbsduser FreeBSD General 9 22nd January 2009 05:42 PM
mount ufs from linux kanonmat FreeBSD General 8 2nd December 2008 06:13 AM
run linux's program johnzlly OpenBSD General 38 8th November 2008 12:10 PM
site performance is getting worse ocicat Feedback and Suggestions 40 24th May 2008 11:06 PM
Repeating BSDforums’ problems… even worse mirabilos Feedback and Suggestions 17 20th May 2008 03:12 PM


All times are GMT. The time now is 02:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick