07-06-2016
Hi Barry,
That looks quite neat and Posixy!
Some comments and ideas:
- The sleep command is not used in a POSIX compliant ways, since it gets fed a float here, and in POSIX it can only handle integers. An alternative is maybe to fill the hourglass more or less from the start, depending on the number of minutes / seconds, and compensate the rest with the first sleep command.
- Instead of using awk to cut the first 6 characters you could use "${platform%"${platform#??????}"}" or better yet, replace the if statements with one case statement and use it pattern matching capability CYGWIN*), so you do not need to cut the platform string.
- The awk command substitutions in the 2nd for loop take time and will skew the time slightly. An alternative is to use parameter expansions or predefine the strings so that it does not add as much to the time used by the sleep commands..
- Perhaps you could have a seconds countdown instead of the static number.
- If more time is entered than what the hourglass can handle, graphically turn the hourglass (nice scripting challenge?)
This User Gave Thanks to Scrutinizer For This Post:
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I am trying to convince my boss to stop allowing our users to login as root (superuser). Currently our users login to our unix server with their own account, then as needed, they will do an su and put in the root password.
This scares me, for a bunch of reasons. Mainly, one is that we... (1 Reply)
Discussion started by: rwallaceisg
1 Replies
2. UNIX for Dummies Questions & Answers
In different online sources, I found bits and pieces of information about those square and angular brackets and pipes. From what I have read, I can conclude it looks like this:
1. Options outside any brackets are mandatory
2. Options inside these < .. > are mandatory too
3. Options inside ... (4 Replies)
Discussion started by: vkleban
4 Replies
3. Cybersecurity
From the nessus scanner tool report i got below vulnerability
PCI DSS Compliance : Insecure Communication Has Been Detected
http://www.tenable.com/plugins/index.php?view=single&id=56208
As per the description given in above link - I am not able to understand
How to find insecure port... (2 Replies)
Discussion started by: saurabh84g
2 Replies
4. Red Hat
Hi i am in new to Linux world . I have been assigned to a project to find out a tool that will fulfill the PCI compliance for Linux servers for Audit process. anyone have any recommendation on that. Do Rad hat have any native application or plug-ins which we can use for that. (1 Reply)
Discussion started by: sahasuman
1 Replies
5. HP-UX
I need to set password compliance for some servers in my company.
However, the requirements are that we need to set different password policies for 3 different user groups within the company. These are :
System Users: i.e root, etc
Batch/Application Users: oracle, bscs, etc
Standard User:... (0 Replies)
Discussion started by: anaigini45
0 Replies
LEARN ABOUT DEBIAN
bf-animation-editor
BF-ANIMATION-EDITOR(1) General Commands Manual BF-ANIMATION-EDITOR(1)
NAME
bf-animation-editor -- The animation editor for the Bear Engine.
SYNOPSIS
bf-animation-editor [-h] [--log-concise] [--log-file=file] [--log-level=string] [--log-uniq] [-c] [-u] file(s) ...
DESCRIPTION
This program is the animation editor for the Bear Engine. This is a part of the Bear Factory.
OPTIONS
The following options can be passed to the program:
-c, --compile
Compile the files and exit.
-h, --help
Show summary of options.
--log-concise
Do not display log messages that have recently been displayed.
--log-file=file
Write log output in "file".
--log-level=string
Output log messages up to a given level, among "error", "warning" and "verbose".
--log-uniq
Do not display the same log message successively.
-u, --update
Open and save the animation files.
-v, --version
Print the version of the editor and exit.
SEE ALSO
running-bear(6), bf-level-editor(1), bf-model-editor(1)
AUTHOR
This manual page was written by Julien Jorge julien.jorge@gamned.org. Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
BF-ANIMATION-EDITOR(1)