Sponsored Content
Top Forums Shell Programming and Scripting Custom exit message according to flag Post 303045139 by sea on Thursday 12th of March 2020 01:42:48 PM
Old 03-12-2020
Id like to see the code for the commented line, because the code would be shorter.

Other than that sounds more lile homework to me.
Is it?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Where can I find a list of exit codes? (Exit code 64)

I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies

2. Shell Programming and Scripting

cant get the right exit message

#!/bin/ksh application task run command //returns 0 if successful if ; then echo "Ran Fine" else echo "Didnt run" fi When I run the script, here is the output Status code = 0 ksh: [0: not found. Job didnt run any suggestions? (4 Replies)
Discussion started by: bryan
4 Replies

3. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

4. AIX

du flag -x

Hi, I would like to know if there's any option to use with the du command so that I can list only the files/directories on the current filesystem... I usually use du -gs *But I'd like to see only the directories in the filesystem I am on, and not the mount point directory of other fss... ... (6 Replies)
Discussion started by: Casey
6 Replies

5. Shell Programming and Scripting

Printing all lines before a specific string and a custom message 2 lines after

Hello all, I need to print all the lines before a specific string and print a custom message 2 lines after that. So far I have managed to print everything up the string, inclusively, but I can't figure out how to print the 2 lines after that and the custom message. My code thus far is:... (4 Replies)
Discussion started by: SEinT
4 Replies

6. UNIX for Dummies Questions & Answers

'h' flag in du

Hey, all! Why is the "human readable" flag changing the behavior of du? And while I'm at it, can you make du only look at files, not directories. I often find myself wanting to find the largest file(s) in a dir or vol. Using 'find' itself, it seems you have to at least be able to guess the size of... (2 Replies)
Discussion started by: sudon't
2 Replies

7. Shell Programming and Scripting

Need the difference between exit 1 & exit 7

Hi In one of the script I am seeing some thing like exit 7,exit 1,exit 2,exit 3,exit 9,exit6.What is the difference between all of this exit.Can anyone help here please (3 Replies)
Discussion started by: ginrkf
3 Replies

8. UNIX for Dummies Questions & Answers

Get the id with specify flag

.... means multi line ddd,bug fgdrg dfdfsdfdfsd fsdfdfdfd fdfdsfdsfsd ....... flag2 ...... aaa,bug sfsfsfsfs dfdfsdfdfsd fsdfdfdfd fdfdsfdsfsd ...... flag1 ...... ddd,bug fgdrg dfdfsdfdfsd (9 Replies)
Discussion started by: yanglei_fage
9 Replies

9. Shell Programming and Scripting

awk to supress error message with custom text

After a bash function is run the below file is produced: out_name.txt tab-delimeted Input Errors and warnings AccNo Genesymbol Variant Reference Sequence Start Descr. Coding DNA Descr. Protein Descr. GeneSymbol Coding DNA Descr. GeneSymbol Protein Descr. Genomic... (3 Replies)
Discussion started by: cmccabe
3 Replies

10. IP Networking

Insmod custom module fails with message : disagrees about version of symbol ...

Hello : I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after compiled. Then I add some members to the struct nf_conn, and it 's compiled successfully. However, it... (1 Reply)
Discussion started by: 915086731
1 Replies
FvwmAudio(1)						      General Commands Manual						      FvwmAudio(1)

NAME
FvwmAudio - the FVWM Audio module SYNOPSIS
FvwmAudio is spawned by fvwm, so no command line invocation will work. From within the .fvwmrc file, FvwmAudio is spawned as follows: Module FvwmAudio or from within an fvwm pop-up menu: Popup "Module-Popup" Title "Modules" Module "GoodStuff" GoodStuff Module "NoClutter" FvwmClean Module "FvwmIdentify" FvwmIdent Module "Banner" FvwmBanner Module "Debug" FvwmDebug Module "Audio" FvwmAudio Module "Pager" FvwmPager 0 3 EndPopup DESCRIPTION
The FvwmAudio module communicates with the Fvwm window manager to bind audio sounds to window manager actions. Different audio queues may be assigned to any window manager action. FvwmAudio can be used with any independent audio player, and therefore requires no special audio library APIs of its own. Simple in its design, it merely binds the audio filenames to particular actions and forks off the audio player program with the appropriate filename when that action occurs. FvwmAudio can also have builtin support for the rplay library. CONFIGURATION OPTIONS
FvwmAudio reads the same .fvwmrc file as fvwm(1) reads when it starts up, and looks for certain configuration options: *FvwmAudioPlayCmd /usr/bin/X11/demos/auplay This determines the independent audio player program that will actually play the sounds. If the play command is set to builtin- rplay then the builtin rplay support will be used. For example: *FvwmAudioPlayCmd builtin-rplay *FvwmAudioDir /usr/lib/sounds Specifies the directory to look for the audio files. This option is ignored when rplay is used. *FvwmAudioDelay 5 Specifies that sound events will only be played if they occur at least 5 seconds after the previous event. Sounds events that occur during the delay period are ignored. This option is useful if you don't want several sounds playing at the same time. The default delay is 0 which disables the audio delay. *FvwmAudioRplayHost hostname Specifies what host the sounds will play on. The hostname can also be an environment variable such as $HOSTDISPLAY. This option is only valid with builtin rplay support. *FvwmAudioRplayPriority 0 Specifies what priority will be assigned to the sounds when they are played. This option is only valid with builtin rplay support. *FvwmAudioRplayVolume 127 Specifies what volume will be assigned to the sounds when they are played. This option is only valid with builtin rplay support. *FvwmAudio window-manager_action audio_filename Binds particular window manager actions to sound queues. *FvwmAudio startup TaDa.au *FvwmAudio shutdown Elvis_Left.au *FvwmAudio unknown doh.au *FvwmAudio add_window drip.au *FvwmAudio raise_window swoosh.au *FvwmAudio lower_window swoosh.au *FvwmAudio focus_change boing.au *FvwmAudio destroy_window explosion.au *FvwmAudio iconify ploop.au *FvwmAudio deiconify ploop.au *FvwmAudio toggle_paging fwop.au *FvwmAudio new_page beam_trek.au *FvwmAudio new_desk beam_trek.au *FvwmAudio configure_window huh.au *FvwmAudio window_name beep.au *FvwmAudio icon_name beep.au *FvwmAudio res_class beep.au *FvwmAudio res_name beep.au *FvwmAudio end_windowlist twang.au INVOCATION
The invocation method was shown in the synopsis section. No command line invocation is possible. FvwmAudio must be invoked by the fvwm win- dow manager. BUGS
It's REALLY noisy when fvwm starts and restarts. COPYRIGHTS
This module is heavily based on a similar Fvwm module called FvwmSound by Mark Boyns. FvwmAudio simply takes Mark's original program and extends it to make it generic enough to work with any audio player. The concept for interfacing this module to the Window Manager, is orig- inal work by Robert Nation. Copyright 1994, Mark Boyns and Mark Scott. No guarantees or warranties or anything are provided or implied in any way whatsoever. Use this program at your own risk. Permission to use this program for any purpose is given, as long as the copyright is kept intact. AUTHORS
Mark Boyns (boyns@sdsu.edu) Mark Scott (mscott@mcd.mot.com) 3rd Berkeley Distribution Mar 28 1994 FvwmAudio(1)
All times are GMT -4. The time now is 09:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy