04-07-2019
Your sparse "specifications" and problem "descriptions" nor your sloppy and careless data posting, you frequently having to correct yourself, urging people in here to tidy up for you, don't really help find errors and create solutions for you.
That said, run the script with the shell's -x (--xtrace) option set and you'll immediately spot the error.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am taking a class in UNIX and have written a script that needs to countdown from a number that is read in from the keyboard to zero. If no number is given the start of the countdown should default to 10.
I can't get this to do the default
#! /bin/sh
echo Enter a number here to countdown... (2 Replies)
Discussion started by: froggwife
2 Replies
2. Shell Programming and Scripting
I am looking for a way to display on a single line, a running countdown for a given amount of time in a terminal using a bash script.
I am looking for this to use as part of a larger bash script that captures Video. The script sets up a bunch of parameters for DVgrab, and one of the parameters... (11 Replies)
Discussion started by: Starcast
11 Replies
3. UNIX for Dummies Questions & Answers
is there a script to preform a countdown from 10 seconds to 0? (5 Replies)
Discussion started by: JamieMurry
5 Replies
4. Shell Programming and Scripting
was wondering if there was a script that would countdiwn the days until christmas (3 Replies)
Discussion started by: trob
3 Replies
5. Shell Programming and Scripting
Hi guys, I've found two nifty little scripts on these forums one which detects if the F5 key has been pressed:
#/bin/sh
_key()
{
local kp
ESC=$'\e'
_KEY=
read -d '' -sn1 _KEY
case $_KEY in
"$ESC")
while read -d '' -sn1 -t1 kp
do
_KEY=$_KEY$kp
... (0 Replies)
Discussion started by: rich@ardz
0 Replies
6. Shell Programming and Scripting
Hi all,
Does anyone know of any FUN countdown script that I can use for my script? At the moment, am just using sleep 10 or more and then print stuff into the screen to allow more time for the user to decide whether they want to continue running the script or abort?
Just thought of wanting... (3 Replies)
Discussion started by: newbie_01
3 Replies
7. Shell Programming and Scripting
Hello, I have another problem with my script - I would like to have a countdown timer visible on the screen, and at the same time, I want te be able to do something else. And when the time runs out, I need to know about that inside the script somehow and do some action. I guess that would require 2... (3 Replies)
Discussion started by: xqwzts
3 Replies
8. Shell Programming and Scripting
In the below bash when the perl is it possible to hide the commands from running on screen and display a process countdown?
For example, on the cygwin screen now the user sees each process in the command running as running protocol refGene, running protocol popfreq_all, etc... Could a... (0 Replies)
Discussion started by: cmccabe
0 Replies
9. UNIX for Beginners Questions & Answers
Hello. I am pretty new to unix and shell scripting and I was wondering if there might be a way to banner a countdown timer inside a script. We currently have an existing script that does a 2 minute sleep but thought it might be fun to actually make it banner a countdown timer until it is finished.... (3 Replies)
Discussion started by: thumbelina
3 Replies
LEARN ABOUT DEBIAN
tidy-proxy
TIDY-PROXY(1) tidy-proxy manual TIDY-PROXY(1)
NAME
tidy-proxy - small http proxy which tidies html
SYNOPSIS
tidy-proxy [ --host hostname] [ -p port] [ -d] [ -l {1|2}] [ --action {t|v}] [ --tidy-cmd tidy-command] [ --validate-cmd validate-command]
[ --pid pid-file]
DESCRIPTION
tidy-proxy is a small proxy server written in perl. using this proxy web-pages are checked for HTML errors with tidy or validate while they
are downloaded. The results are displayed on top of that page. tidy-proxy is mainly intended for developing dynamic web-pages.
OPTIONS
--host *host*
the host parameter sets the listening address for tidy-proxy. [default: localhost]
-p, --port *port*
port sets the listening port for tidy-proxy. [default: 9090]
-d, --nodaemon
run tidy-proxy in foreground
-l, --level *level*
level sets the filtering level for tidy-proxy 1: Warnings 2: Errors
--action *t|v*
set if to use *t*idy or *v*alidate. [default: tidy]
--tidy-cmd *cmd*
Command to use for tidy. [default: /usr/bin/tidy]
--validate-cmd *cmd*
Command to use for validate. [default: /usr/bin/validate]
--pid *pid-file*
Create a pid file. Works only in daemon mode.
--dest-host *destination host*
run tidy-proxy in reverse-proxy mode. tidy-proxy acts as normal webserver and forwards every request to *destination host*.
--loc-rewrite
rewrite the Location and the Host header in reverse-proxy mode.
-h, -?, --help
Prints help message.
SEE ALSO
tidy(1), validate(1)
AUTHOR
This manual page was written by Jonas Meurer jonas@freesources.org for the Debian distribution of tidy-proxy.
COPYRIGHT
Copyright (C) 2003-2008: Jonas Meurer jonas@freesources.org This manual page is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free Software Foundation; version 2. This program is distributed in
the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
tidy-proxy 0.97-4 2011-04-09 TIDY-PROXY(1)