The problem is in [ "$input" != "y" ] || [ "$input" != "Y" ], it will always true.
if you input y, the second condition is trun, if you input Y, the first condition is trun, if you input N or n or other words, both conditions are true.
Hello every one,
how are u doing?
my macine has following os:
=====================
Linux 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
here i am trying to compile a c++ project.i am getting the following error.
error:
=======
Generating... (4 Replies)
Hi All,
I am new to shell scripting and right now I am just limited to using the pre-written scripts. I am in to Infrastructure management where we use different scripts to get the information passed on to the monitoring tools. I am trying to use this script to get the information about the... (2 Replies)
hi,
I have
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or question of my own) is:
Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
hi,
I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses...
Here is the configuration of my system:
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or... (1 Reply)
I have a string of commands I am piping some data through and I want to allow command line switches to select which commands are used. I want to do something like this: OPTION="| command3"
command1 -a -b c.txt | command2 -d -e $OPTION >result.txt
I want to do it that way because OPTION may be... (1 Reply)
Im trying to check if a series of directory exists and if not create them, and am having issues. All the instances of test return with the error "test:
#!/bin/bash
location_Parent=~/Documents/sight_of_sound
location_IMG=~/Documents/Sight_of_sound/IMG
location_AUD=~/Documents/Sight_of_sound/AUD... (4 Replies)
Hi,
I have a variable, $sername, and I would like to display this variable only if it *does not* contain either of these two tags: *DTI*FA* or *DIFF*FA*.
I think the syntax for my 'or' operator is off. The variable $sername is continuously changing in an outer loop (not shown), but at the... (4 Replies)
Hi
I am trying to figure out what the following line does, I work in ksh88:
] && LIST="$big $LIST"
Not sure what "-a" means in that case.
Thanks a lot for any advice -A (1 Reply)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OPENSOLARIS
rhythmbox-client
rhythmbox-client(1) User Commands rhythmbox-client(1)NAME
rhythmbox-client - controls a running instance of rhythmbox
SYNOPSIS
rhythmbox-client [--clear-queue] [--debug] [--enqueue=filename] [--help] [--hide] [--mute] [--next] [--no-present] [--no-start] [--notify]
[--pause] [--play] [--play-pause] [--play-uri=uri] [--previous] [--print-playing] [--print-playing-format=format] [--print-volume] [--quit]
[--set-volume=float] [--unmute] [--volume-down] [--volume-up]
DESCRIPTION
rhythmbox-client is a tool for controlling an already running instance of rhythmbox. It is useful for remote control scripting or printing
details of what is playing.
OPTIONS
The following options are supported:
--client-queue Empty the play queue before adding new tracks.
--debug Display debug output.
--enqueue=filename Add specified tracks already in the library to the play queue.
-?, --help Show help options.
--hide Hide the rhythmbox-client window.
--mute Mute playback.
--next Jump to next song.
--no-present Do not present an existing rhythmbox-client window.
--no-start Do not start a new instance of rhythmbox-client.
--notify Show notification of the playing song.
--pause Pause playback if currently playing.
--play Resume playback if currently paused.
--play-pause Toggle play/pause mode.
--play-uri=uri Play a specified uri, importing it if necessary.
--previous Jump to previous song.
--print-playing Print the title and artist of the playing song.
--print-playing-format=format Print the formatted details of the song. Refer to the extended description to see valid format options.
Multiple options can be combined using quotes. For example "%tn %aa %tt", will print the track number fol-
lowed by the artist and the title of the track.
--print-volume Print the current playback volume.
--quit Quit Rhythmbox.
--set-volume=float Set the playback volume.
--unmute Unmute playback
--volume-down Decreate the playback volume.
--volume-up Increase the playback volume.
EXTENDED DESCRIPTION
rhythmbox-client accepts the following format options to be used with the --print-playing-format option:
%at Album title
%aT Album title in lowercase
%aa Album artist
%aA Album artist in lowercase
%ay Release year of album
%an Album disc number
%aN Album disc number with leading zero
%ag Album genre
%aG Album genre in lowercase
%tt Track title
%tT Track title in lowercase
%ta Track artist
%tA Track artist in lowercase
%tn Track number
%tN Track number with leading zero
%td Track duration
%te Elapsed time of track
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/rhythmbox-client
Executable for rhythmbox-client
/usr/lib/rhythmbox/plugins
Location of rhythmbox-client plugins.
/usr/share/gtk-doc/html/rhythmbox
Location of developer documentation for writing a rhythmbox-client plugin.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media-player |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO rhythmbox(1), attributes(5)NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2007.
SunOS 5.11 3 Dec 2007 rhythmbox-client(1)