Sponsored Content
Top Forums Shell Programming and Scripting Suppress a background message in Bash Post 302563301 by Corona688 on Monday 10th of October 2011 09:36:27 PM
Old 10-10-2011
What, exactly, are you trying to do? Smilie Not your code, your ultimate goal.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

suppress bash's "Done" message

Hi, I'm running a background job in my bash script. But when the job quit, bash echos a message like "+ Done xterm". This is annoying. How can I suppress it? (5 Replies)
Discussion started by: momiji
5 Replies

2. Shell Programming and Scripting

Suppress error message in unzip

I'm creating a bsh shell to unzip a file from one directory into another. The directory that holds the zip files has zip files constantly being added to it, so I am testing it before it does the unzip and more. Right now my code looks like this: unzip -tq $ZIP_PATH/$ZIP_NAME >/dev/null if ... (5 Replies)
Discussion started by: skwyer
5 Replies

3. Shell Programming and Scripting

Suppress error message in shell script

Hi All this is a simple script #! /bin/bash FileCnt=`ls -lrt $DIR/* | wc -l` echo $FileCnt how could i escape the error msg if there are no files in $DIR ls: /home/sayantan/test/files/cnt/*: No such file or directory 0 Looking forward for a quick reply Regards, Newbie... (3 Replies)
Discussion started by: newbie07
3 Replies

4. Linux

background processing in BASH

I have script 3 scripts 1 parent 2 children child1 child2 In the code below the 2 child processes fire almost Instantaneously in the background, Is that possible to know the status of pass/fail of each process "as it happens" ? In the present scenario although Child2... (5 Replies)
Discussion started by: jville
5 Replies

5. Shell Programming and Scripting

background processing in BASH

I have script 3 scripts 1 parent (p1) and 2 children child1 and child2 I have script 3 scripts 1 parent 2 children child1 child2 In the code below the 2 child processes fire almost Instantaneously in the background, Is that possible to know the status of pass/fail of each process... (12 Replies)
Discussion started by: jville
12 Replies

6. Shell Programming and Scripting

Suppress "Where are you?" Message

biff n pdir=`pwd` # check for null parameter if ; then echo current directory $pdir ls -latr echo else p1=$1 #check for directory entry only if ; then pdir=$p1 echo current directory $pdir cd $pdir ls -latr echo #check for directory entry and file... (2 Replies)
Discussion started by: wtolentino
2 Replies

7. Shell Programming and Scripting

bash tee and background threads

Running centos 2.6, I have a bash script in which I'd like to run a number of background threads in parallel, tee'ing the results of the entire script to one file, while tee'ing the result of each background thread to another. Here's what I'm doing, where the number of csv files control the... (1 Reply)
Discussion started by: heatlamp
1 Replies

8. Shell Programming and Scripting

Background tasks in a loop (bash)

I am trying to use a loop to start tasks 0-3, running 0,1,2 in the background with &. FOLDSET=( 0 1 2 3 ) for FOLDSET in ${FOLDSET} do if ; then BACKGRD="&" else BACKGRD="" fi # start task $FOLDSET task1 -nogui -ni -p $PROJ \ epochs=$EPOS ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies

9. Shell Programming and Scripting

Suppress Error Message

How can I suppress a error message being given by awk command in bash shell? (2 Replies)
Discussion started by: Prachi Gupta
2 Replies

10. Shell Programming and Scripting

Bash function to suppress warning message for specific text and display prompt

In the below bash function multiple variants are input and stored in a variable $variant, and each is written to an out file at c:/Users/cmccabe/Desktop/Python27/out.txt stored on a separate line. # enter variant phox2b() { printf "\n\n" printf "What is the id of the patient getting... (0 Replies)
Discussion started by: cmccabe
0 Replies
numptyphysics(6)						  Numpty Physics						  numptyphysics(6)

NAME
numptyphysics - Crayon-based physics puzzle game SYNOPSIS
numptyphysics DESCRIPTION
Numpty Physics is a Crayon-drawing puzzle game in the spirit of Crayon Physics using the same excellent Box2D engine. It melds cute school- book-style graphics with a kind of realistic physics engine. It includes a built-in editor so that you may build (and submit) your own lev- els. A summary of the keys supported is included below. PLAY KEYS
stylus draw a new stroke space or enter pause/unpause physics esc or backspace undo last stroke q quit r or up reset level to initial state n or right skip to next level p or left go to previous level e or fullscreen edit mode Hints: Each stroke is like a rigid piece of wire with a mass proportional to its length. A closed stroke is just a wire bent into a shape, it has no substance apart from its perimeter. The ends of a strokes can (and will) join onto other strokes when drawn near enough to another stroke. These joints are pivots so you can use this to build levers, pendulums and other mechanical wonders. Jointed strokes don't collide with each other. Join both ends to make a rigid structure Play bugs: goal item does not respawn if lost. EDITOR KEYS
Keys: (as per play mode plus the following) e or fullscreen leave edit mode s or menu save to ~/.numptyphysics/L99_saved.nph zoom-minus + stylus delete stroke at point zoom-plus + stylus drag stroke at point Hints: It's handy to pause the physics when making a new level though this is by no means necessary. Sometimes it is handy to let the physics run for a little bit just to let the items settle down. From the editor palette you can choose the crayon colour and then additional properties such as: * ground (earth arrow) - stroke is fixed in place. * sleeping (Zzz) - stroke is not subject to physics until bumped by something else. * decorator (dashed D) - stroke is not part of the physical world. eg: tutorial text. You should make sure that your level has at least one red item (player token) and at least one yellow item (goal item). Token strokes will only join to other token strokes. Goal strokes will only join to goal strokes. Other strokes will happily join to any non-token non-goal strokes. If this is your first time, you may need to restart the game for your saved L99 to show up. If you wish to be clever, edit the level file directly - it's just a simple text format. Editor bugs: There is not yet any provision to name your level but you can just rename the file to anything. AUTHOR
This manual page was written by Gabriele Giacone <1o5g4r8o@gmail.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 any later version pub- lished by the Free Software Foundation. December 30, 2009 numptyphysics(6)
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy