Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How can I have one script with 2 different names? Post 302421647 by lemon_06 on Saturday 15th of May 2010 12:15:56 PM
Old 05-15-2010
it still creates another file with the same code inside.
like ln -fs a b,
it creates b file.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script for file names/sizes

How can I look at a certain directory and list all the file names, locations and sizes of each file in the current directory and all subdirectories? (2 Replies)
Discussion started by: ssmiths001
2 Replies

2. Shell Programming and Scripting

How to get files names passed to a script

I need to get files names passed to a script. Here number of files passed may vary like MyScript.ksh file1 file2 file3..... so on I am writting script somthing like this set -A Files while (i<=$#) do File=$i let i=i+1 done Is this correct way doing this. Is there any other way.... (5 Replies)
Discussion started by: unishiva
5 Replies

3. Shell Programming and Scripting

script to find function names

hi, i am a newbie and have to write a rather complicated script. Assume that i have a variable called x and a C source code file say file1.c (these are the inputs of the script) and i need to find the names of all the functions in the C file containing x.Take the following code as an example: ... (2 Replies)
Discussion started by: samantha grace
2 Replies

4. Shell Programming and Scripting

Renaming file names in a shell script

I want to write a shell script that will rename all the file names to today's date attached to it.. so for example i have a file names like file1.sales.20081201.txt.c zbrs.salestxtn.20091101.txt.inn then it will rename both the files with todays date to it so the file names get changed... (1 Reply)
Discussion started by: rudoraj
1 Replies

5. Shell Programming and Scripting

input file names to a script

What is a more efficient way to read files into a script? I don't want to hard code the file names like below: for file in file1 \ file2 do ... done I want to execute the script with a variable number for files for input like below: ./scriptname file1 file2 file3 ...... (3 Replies)
Discussion started by: djehresmann
3 Replies

6. UNIX for Advanced & Expert Users

script regarding listing long group names

Hello, When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated. Can someone help with the script which would display the truncated group name? I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies

7. Shell Programming and Scripting

Problems with script to find file names

Have a text file "test-array.txt" with contents below a23003 b23406 c23506 Tying to read the above file into an array and search for file-names in a directory TEST_DIR ,recursively with the above names in them. Example: If TEST_DIR has a files named xyxa_a23003_test.sql,... (4 Replies)
Discussion started by: gaurav99
4 Replies

8. Shell Programming and Scripting

Selecting/using part of directory names in script

I'm making a shell script to: -copy directories to a new location -perform conversions on the files within the copied directories -move the newly created files to a new directory Please see my super basic script and notes below... and thank you thank you thank you in advance !! ... (1 Reply)
Discussion started by: kayzee
1 Replies

9. Shell Programming and Scripting

Script to change file names

I have a landing directory on my unix (solaris) server, that receives the following files: MLH4301I AAOT-hhslog.610.20150805.txt MLH4301I AAOT-hhslog.611.20150805.txt MLH4301I AAOT-hhslog.612.20150805.txt MLH4301I AAOT-hhslog.613.20150805.txt and I need to add to this files the number 10000... (6 Replies)
Discussion started by: fretagi
6 Replies

10. SCO

Long file names within shell script

I am downloading a zip file that contain files that are very long. I am trying to process them, but cannot. I can move the files from one directory to another at the shell prompt, but not within a shell script, I get a stat error. The files look somewhat like this; ... (5 Replies)
Discussion started by: trolley
5 Replies
tixLabelFrame(n)					       Tix Built-In Commands						  tixLabelFrame(n)

__________________________________________________________________________________________________________________________________________________

NAME
tixLabelFrame - Create and manipulate tixLabelFrame widgets SYNOPSIS
tixLabelFrame pathName ?options? SUPER-CLASS The TixLabelFrame class is derived from the TixLabelWidget class and inherits all the commands, options and subwidgets of its super-class. STANDARD OPTIONS
The LabelFrame widget supports all the standard options of a frame widget. See the options(n) manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS [-label label] Specifies the string to display as the label of this LabelFrame widget. [-labelside labelSide] Specifies where the label should be displayed relative to the entry subwidget. Valid options are: top, left, right, bottom, none or acrosstop. [-padx padX] Speci- fies the amount of the horizontal padding around the frame subwidget. Must be a valid non-negative integer number. [-pady padY] Specifies the amount of the vertical padding around the frame subwidget. SUBWIDGETS
Name: frame Class: Frame The frame subwidget. Name: label Class: Label The label subwidget. _________________________________________________________________ DESCRIPTION
The tixLabelFrame command creates a new window (given by the pathName argument) and makes it into a LabelFrame widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the LabelFrame such as its cursor and relief. CREATING WIDGETS INSIDE A LABELFRAME
The LabelFrame widget packages a frame widget and a label into one mega widget. To create widgets inside a LabelFrame widget, one must cre- ate the new widgets relative to the frame subwidget and manage them inside the frame subwidget. An error will be generated if one tries to create widgets as immediate children of the LabelFrame. For example: the following is correct code, which creates new widgets inside the frame subwidget: tixLabelFrame .f set f [.f subwidget frame] button $f.b -text hi pack $f.b The following example code is incorrect because it tries to create immediate children of the LabelFrame .f: tixLabelFrame .f # wrong! button .f.b -text hi pack .f.b WIDGET COMMANDS
The tixLabelFrame command creates a new Tcl command whose name is the same as the path name of the LabelFrame's window. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? PathName is the name of the command, which is the same as the LabelFrame widget's path name. Option and the args determine the exact behav- ior of the command. The following commands are possible for LabelFrame widgets: pathName cget option Returns the current value of the configuration option given by option. Option may have any of the values accepted by the tixLabel- Frame command. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the tixLabelFrame command. pathName subwidget name ?args? When no options are given, this command returns the pathname of the subwidget of the specified name. When options are given, the widget command of the specified subwidget will be called with these options. KEYWORDS
Tix(n) Tix 4.0 tixLabelFrame(n)
All times are GMT -4. The time now is 04:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy