I'd recommend looking at the bottom of this thread for More UNIX and Linux Forum Topics You Might Find Helpful threads.
Also look a simple menu building script as a sample of using select and case:
These 2 Users Gave Thanks to vgersh99 For This Post:
Hi there, just wondered if somebody could help me with a problem I have
I have a program that when run from the command line will output a list of objects
# list_servers
server1
server5
server7
server8
#
I just wanted to know, in perl, how can i make each line of output from... (4 Replies)
Hi,
I would like to write a for loop that does the following:
I have a file called X.txt and other files called 1.txt,2.txt, .....,1000.txt.
I want to substitute the 6th column of the file X.txt with 1.txt and store the output as X.1. Then I want to do the same with X.txt and 2.txt and store... (0 Replies)
Hi,
I have some hundreds/thousands of files named logX.dat, where X can be any integer, and they are sequential, X ranges between 1 and any number:
log1.dat log2.dat log3.dat log6.dat log10.dat ... log6000.dat
I would like to rename them to
scatter_params_0001.dat... (6 Replies)
Hi,
I've a list of files
ac_info.tps, subscription_array.tps, .......and many other files
one of the file, bin_range_list.tps has the following content
CREATE OR REPLACE TYPE "BIN_RANGE_LIST" AS TABLE OF BIN_RANGE_ELEM;
/
grant execute on... (4 Replies)
I copied the below program to play around with displaying a list of items using the select command in ksh. When I put all items in the same line, it works fine. I am trying to use multiple lines instead of a single row...my list is too large for a single line. How do I get the line continuation... (3 Replies)
I have about 6000 files of the following format (three simplified examples shown; actual files have variable numbers of columns, but the same number of lines). I would like to concatenate the ID (*Loc*) and data lines, but not the others, as shown below. The result would be one large file (or... (3 Replies)
I have a text file in this format
Some lines....
Question no: 1
The question?
A. Answer 1
B. Answer 2
C. Answer 3
D. Answer 4
Answer:B
Some lines....
Question no: 2
The question? (choose 2) (10 Replies)
Hi,
I am trying to script the below, but I am not very good at it :(
Your help would be greatly appreciated.
1. read all files in the directory in strings
strings *.*
2. in each file, for each line that contains "ABCD", store characters located at position 521 and 522 of this line... (9 Replies)
Hello All,
just wanted to export multiple tables from oracle sql using unix shell script to csv file and the below code is exporting only the first table.
Can you please suggest why? or any better idea?
export FILE="/abc/autom/file/geo_JOB.csv"
Export= `sqlplus -s dev01/password@dEV3... (16 Replies)
Discussion started by: Hope
16 Replies
LEARN ABOUT DEBIAN
nautilus-actions-new
nautilus-actions-new(1) General Commands Manual nautilus-actions-new(1)NAME
nautilus-actions-new - create new nautilus actions
SYNOPSIS
nautilus-actions-new [OPTION]
DESCRIPTION
nautilus-actions-new creates new actions for the nautilus file manager non-interactively via the commandline. Action attributes are speci-
fied via command-line options.
By default, actions are written to STDOUT. However, they can also be written to a file suitable for later import via nautilus-actions-con-
fig-tool or you can even write the action directory to your GConf configuration for nautilus-actions
OPTIONS
Help options
-?, --help Show help options
--help-all
Show all help options
--help-output
Choose where the program creates the action
Action-creation options
-l, --label=LABEL The label of the menu item (mandatory)
-t, --tooltip=TOOLTIP
The tooltip of the menu item
-i, --icon=ICON
The icon of the menu item (filename or GTK stock ID)
-c, --command=PATH
The path of the command
-p, --parameters=PARAMS
The parameters of the command
-m, --match=EXPR
A pattern to match selected files against. May include wildcards (* or ?) (you must set one option for each pattern you need)
-C, --match-case=PATH
The path of the command
-T, --mimetypes=EXPR
A pattern to match selected files' mimetype against. May include wildcards (* or ?) (you must set one option for each pattern you
need)
-f, --accept-files
Set it if the selection must only contain files
-d, --accept-dirs
Set it if the selection must only contain folders. Specify both '--isfile' and '--isdir' options is selection can contain both types
of items
-M, --accept-multiple-files
Set it if the selection can have several items
-s, --scheme=SCHEME
A valid GVFS scheme where the selected files should be located (you must set one option for each scheme you need)
BUGS
Please report bugs in nautilus-actions to <submit@bugs.debian.org>. The current bug list may be viewed at <http://bugs.debian.org/nautilus-
actions>.
AUTHOR
nautilus-actions was written by Rodrigo Moya <rodrigo@novell.com>, Frederic Ruaudel <grumz@grumz.net>, Pierre Wieser <pwieser@trych-
los.org>, and contributors.
This manual page was written by Christine Spang <christine@debian.org>, for the Debian project (but may be used by others).
LICENSING
Both the nautilus-actions source code and this man page are licensed under the GNU General Public License.
SEE ALSO nautilus(1),nautilus-actions(1),nautilus-actions-schemas(1),
nautilus-actions-run(1)nautilus-actions-print(1)Debian GNU/Linux 2009-08-06 nautilus-actions-new(1)