topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday June 27, 2025, 5:39 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 64 65 66 67 68 [69] 70 71 72 73 74 ... 113next
1701
FWIW, with NoScript in FF, copying-and-pasting Google results seems to work here without "goo".

Also appears to apply for:

  https://encrypted.google.com/

1702
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 14, 2011, 04:04 AM »
Found this collection of tutorials:

  http://www.shelldorado.com/links/index.html#tutorials

The rest of the site is interesting too:

  http://www.shelldorado.com/

Currently going through the Good Coding Practices section.
1703
Although I notice when I do an AV search now it says Yahoo.  They bought them maybe?
From:

  http://en.wikipedia.org/wiki/AltaVista

AltaVista is a web search engine owned by Yahoo!. AltaVista was once one of the most popular search engines but its popularity declined with the rise of Google. In 2010, Yahoo! announced that it plans to discontinue the site.
1704
General Software Discussion / Re: What Android Apps Do You Use?
« Last post by ewemoa on July 13, 2011, 05:17 AM »
Thanks all for your comments :)

The device in question here isn't currently associated with any phone plans and its WiFi doesn't tend to be on very much to increase the time between battery charges.
1705
General Software Discussion / Re: What Android Apps Do You Use?
« Last post by ewemoa on July 11, 2011, 07:45 PM »
Lately I'm noticing the displayed time being sooner later than what seems correct -- and it seems to get worse over time.

Installed ClockSync (root required) and am hoping for an improvement.

Has anyone else had similar problems?
1706
Post New Requests Here / Re: DONE: folder monitor with customizable action
« Last post by ewemoa on July 10, 2011, 09:11 AM »
Looks interesting!

Thanks for sharing :)
1707
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 10, 2011, 09:06 AM »
Came across:

  BASH Debugger

The Bash Debugger Project is a source-code debugger for bash that follows the gdb command syntax.

bashdb-where.png

Apart from the obvious application, it seems like this might be handy for learning.
1708
Living Room / Re: Real SciFi Technology - a 3D-Replicator
« Last post by ewemoa on July 10, 2011, 05:32 AM »
Niiiiiiiice  :Thmbsup:
1709
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 10, 2011, 04:31 AM »
As a side note, I noticed that O'Reilly provides a "Browse Contents" feature for (some of?) its books and books.google.com sometimes has something akin to Amazon's "Look Inside".  May be there are other options for browsing book content...

Hmm...perhaps "Browse Contents" is just re-using Google content...

oreilly-browse-contents.png
1710
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 10, 2011, 04:16 AM »
I used to have a $9 "in a nutshell" book with many example sh scripts.. but I can't seem to find it to get the exact title.
Don't know if it was UNIX in a Nutshell, but the author of that seems to have co-written a separate book on shell scripting:

  Classic Shell Scripting

Both appear to be "Look Inside" compatible :)

Brief Table of Contents

UNIX in a Nutshell, Fourth Edition (O'Reilly Page which includes Full Table of Contents) 2005

Chapter 1 Introduction
Chapter 2 Unix Commands
Chapter 3 The Unix Shell: An Overview
Chapter 4 The Bash and Korn Shells
Chapter 5 tcsh: An Extended C Shell
Chapter 6 Package Management
Chapter 7 Pattern Matching
Chapter 8 The Emacs Editor
Chapter 9 The vi, ex, and vim Editors
Chapter 10 The sed Editor
Chapter 11 The awk Programming Language
Chapter 12 Source Code Management: An Overview
Chapter 13 The Revision Control System
Chapter 14 The Concurrent Versions System
Chapter 15 The Subversion Version Control System
Chapter 16 The GNU make Utility
Chapter 17 The GDB Debugger
Chapter 18 Writing Manual Pages
Appendix A ISO 8859-1 (Latin-1) Character Set
Appendix B Bibliography

Classic Shell Scripting (O'Reilly Page which includes Full Table of Contents) 2005

Chapter 1 Background
Chapter 2 Getting Started
Chapter 3 Searching and Substitutions
Chapter 4 Text Processing Tools
Chapter 5 Pipelines Can Do Amazing Things
Chapter 6 Variables, Making Decisions, and Repeating Actions
Chapter 7 Input and Output, Files, and Command Evaluation
Chapter 8 Production Scripts
Chapter 9 Enough awk to Be Dangerous
Chapter 10 Working with Files
Chapter 11 Extended Example: Merging User Databases
Chapter 12 Spellchecking
Chapter 13 Processes
Chapter 14 Shell Portability Issues and Extensions
Chapter 15 Secure Shell Scripts: Getting Started
Chapter 16 Bibliography
1711
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 10, 2011, 03:39 AM »
Well, to each his own, I guess...  :P
Well, at least at first, it seems dash / Bourne shell might be smaller targets :)
1712
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 10, 2011, 02:48 AM »
It appears there is a home page for the "bash Cookbook" (by the authors? Not the O'Reilly page):

  http://bashcookbook.com/

I noticed a link there to:

  Bash Guide for Beginners

From the "Why this guide?" section:

The primary reason for writing this document is that a lot of readers feel the existing HOWTO to be too short and incomplete, while the Bash Scripting guide is too much of a reference work. There is nothing in between these two extremes. I also wrote this guide on the general principal that not enough free basic courses are available, though they should be.

This is a practical guide which, while not always being too serious, tries to give real-life instead of theoretical examples. I partly wrote it because I don't get excited with stripped down and over-simplified examples written by people who know what they are talking about, showing some really cool Bash feature so much out of its context that you cannot ever use it in practical circumstances. You can read that sort of stuff after finishing this book, which contains exercises and examples that will help you survive in the real world.

From my experience as UNIX/Linux user, system administrator and trainer, I know that people can have years of daily interaction with their systems, without having the slightest knowledge of task automation. Thus they often think that UNIX is not userfriendly, and even worse, they get the impression that it is slow and old-fashioned. This problem is another one that can be remedied by this guide.

There appears to be a more recent version.

Perhaps also of interest was:

  The Comprehensive List of bash Reference Documentation and Examples

which also has a "bash Software Repositories and other Resources" list.

However...
As I've been looking into this topic, I find myself more attracted to learning about dash or the Bourne shell.  ;)

1713
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 10, 2011, 02:36 AM »
As for part 3, I think it's less about Gentoo than it is an example of how to code an entire application in bash script.
I suppose so.  I guess one might be helped slightly in understanding the article assuming some prior experience with Gentoo, but perhaps not a whole lot.

BTW - many of the online resources I cited are available as PDF, and so should be printable at home or by any freindly neighborhood printing service.
Lulu.com also has many of them available has hard and soft covers, but they're not exactly cheap.
-Edvard
Thanks for the tip!
1714
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 09, 2011, 07:46 PM »
Thanks for the suggestion :)

It looks like it is "Look Inside"-compatible too.

Checking out the Amazon page I see it supposedly covers:

  • Solaris 10, the latest version of the SVR4-based operating system, GNU/Linux, and Mac OS X
  • Bash shell (along with the 1988 and 1993 versions of ksh)
  • tsch shell (instead of the original Berkeley csh)
  • Package management programs, used for program installation on popular GNU/Linux systems, Solaris and Mac OS X
  • GNU Emacs Version 21
  • Introduction to source code management systems
  • Concurrent versions system
  • Subversion version control system
  • GDB debugger

May be a fair bit more than what I'm interested in at this point, but it looks like I have another candidate for book browsing  ;)

I suppose it's worth checking out other O'Reilly titles -- there appear to be at least two:


Brief Table of Contents

Learning the bash Shell, Third Edition (O'Reilly Page which includes Full Table of Contents) 2005

  • Chapter 1 bash Basics
  • Chapter 2 Command-Line Editing
  • Chapter 3 Customizing Your Environment
  • Chapter 4 Basic Shell Programming
  • Chapter 5 Flow Control
  • Chapter 6 Command-Line Options and Typed Variables
  • Chapter 7 Input/Output and Command-Line Processing
  • Chapter 8 Process Handling
  • Chapter 9 Debugging Shell Programs
  • Chapter 10 bash Administration
  • Chapter 11 Shell Scripting
  • Chapter 12 bash for Your System
  • Appendix A Related Shells
  • Appendix B Reference Lists
  • Appendix C Loadable Built-Ins
  • Appendix D Programmable Completion

bash Cookbook (O'Reilly Page which includes Full Table of Contents) 2007

  • Chapter 1 Beginning bash
  • Chapter 2 Standard Output
  • Chapter 3 Standard Input
  • Chapter 4 Executing Commands
  • Chapter 5 Basic Scripting: Shell Variables
  • Chapter 6 Shell Logic and Arithmetic
  • Chapter 7 Intermediate Shell Tools I
  • Chapter 8 Intermediate Shell Tools II
  • Chapter 9 Finding Files: find, locate, slocate
  • Chapter 10 Additional Features for Scripting
  • Chapter 11 Working with Dates and Times
  • Chapter 12 End-User Tasks As Shell Scripts
  • Chapter 13 Parsing and Similar Tasks
  • Chapter 14 Writing Secure Shell Scripts
  • Chapter 15 Advanced Scripting
  • Chapter 16 Configuring and Customizing bash
  • Chapter 17 Housekeeping and Administrative Tasks
  • Chapter 18 Working Faster by Typing Less
  • Chapter 19 Tips and Traps: Common Goofs for Novices
  • Appendix A Reference Lists
  • Appendix B Examples Included with bash
  • Appendix C Command-Line Processing
  • Appendix D Revision Control
  • Appendix E Building bash from Source
1715
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 09, 2011, 05:08 PM »
I appreciate their "Look Inside" feature when it's available -- in the current situation, that appears to be "yes" for the admin book and "no" for Sobell's book.
Sorry if I was unclear above  :-[

What I meant was that it looks possible to use "Look Inside" for one book and not the other.

Haven't decided about the books yet...although both books seem to cover far more than shell scripting :)
1716
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 09, 2011, 01:03 AM »
One thing I've learned - you can't always trust Amazon's reviews.
It's certainly challenging to decode whatever signal might be there sometimes :)

I appreciate their "Look Inside" feature when it's available -- in the current situation, that appears to be "yes" for the admin book and "no" for Sobell's book.
1717
Finished Programs / Re: wav player without any gui
« Last post by ewemoa on July 08, 2011, 01:15 AM »
Was that using a 64-bit system?
The wine test was with a 32-bit system.
1718
Finished Programs / Re: wav player without any gui
« Last post by ewemoa on July 07, 2011, 11:53 PM »
FWIW, gave it a try under wine (1.3) and it seems to work fine (both with and without /exit)  :Thmbsup:
1719
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 07, 2011, 03:49 AM »
If you don't want/need to restrict yourself to online and/or free resources, check out this book.
I see that bits of this book are available for preview via:

  http://www.sobell.com/CR2/index.html

It looks like there are sample portions of the admin book as well via:

  http://www.admin.com/

May be I'll have the opportunity to browse physical copies at a bookstore before too long.

Thanks for the suggestions :)
1720
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 07, 2011, 03:42 AM »
look through the start up scripts in /etc and see how they do what they do.
Sounds like a potentially useful source of real-world example code.  Thanks for the tip  :Thmbsup:
1721
Developer's Corner / Re: Bourne / Bash Shell Scripting Resources
« Last post by ewemoa on July 06, 2011, 07:45 PM »
Thanks for the comments and suggestions  :Thmbsup:

The Learn About Bash Scripting section of the suggested Getting Started with BASH turned up "Bash by example..." (3 parts).  Perhaps somewhat in line with "starting small", am considering "Part 1" as an entry point before attempting some of the suggestions :)

FWIW, I found alternate (possibly updated but not maintained) versions at:


Some headers:

Part 1
  Introduction
  You're already running it
  You're already using it
  Bash confusion
  Environment variables
  Chopping strings overview
  Command substitution
  Chopping strings like a pro
  Applying string chopping
  if statements
  Next time

Part 2
  Accepting arguments
  Bash programming constructs
  Conditional love
  String comparison caveats
  Looping constructs: "for"
  Shell arithmetic
  More looping constructs: "while" and "until"
  Case statements
  Functions and namespaces
  Namespace
  Wrapping it up

Part 3
  Enter the ebuild system
  Why bash?
  Build process review
  Generalizing the code
  Adding functionality
  Modularizing the code
  Configuration files
  Wrapping it up

Looks like part 3 may be gentoo-specific...
1722
Find And Run Robot / Re: User Variable value limit and Timer plugin problem
« Last post by ewemoa on July 06, 2011, 04:49 PM »
Do you guys get the JSON parser error I was getting?
Not every time -- I think it may depend on the specifics of the data truncation / munging.
1723
Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands
« Last post by ewemoa on July 05, 2011, 08:51 PM »
Thanks for the update :)
1724
Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands
« Last post by ewemoa on July 05, 2011, 02:03 AM »
Thanks for the clarification :)
1725
Find And Run Robot / Re: User Variable value limit and Timer plugin problem
« Last post by ewemoa on July 05, 2011, 12:22 AM »
Tried making many timers and succeeded in causing a problem at FARR start up.

Also tried making a timer with an associated message which was waaaaaay too long and AFAICT this also caused a FARR start up problem.

Also was able to edit FindAndRunRobot.ini appropriately to get FARR to start again without reporting an error.  As one might guess, limited deletion (presumable to get the length of an appropriate user variable under some length) was sufficient.
Pages: prev1 ... 64 65 66 67 68 [69] 70 71 72 73 74 ... 113next