03-04-2014
In what way did it fail miserably? What did it do?
Moderator's Comments:
|
|
Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the button.
Thank you.
The UNIX and Linux Forums
|
|
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help with a perl parsing script. I have some error logs on a windows machine that I need to parse from a text file, but I know nothing about perl. I usually run this bash script on my linux box and it does just what I need. How would I do the same thing with perl and port it to my windows... (2 Replies)
Discussion started by: cstovall
2 Replies
2. UNIX for Advanced & Expert Users
Dear friends,
i am writing sh shell script
I have a file containing binary data.
like this.
010101010101010101101010101010100001010101010101001.
i want to read some particular bits and convert it into decimal valuse.
example.
1.first i want to read 5 bits and convert it into... (1 Reply)
Discussion started by: rajan_ka1
1 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone. I am new to linux and need help again. I need help converting this bash shell to linux:
for i in `ls -l *.txt`
do
`./cnvidtf.pl $i`
`curl -u login:pswd --disable-espv -T loadfile.seq ftp://11.1.11.1`
`mysql -u login -h 11.1.11.1 -ppswd < lddocs.sql`
done
Thanks! Any help... (6 Replies)
Discussion started by: freak
6 Replies
4. UNIX for Dummies Questions & Answers
How can I convert a variable to uppercase like ksh, typeset -u $1 in bash? (1 Reply)
Discussion started by: stringdom
1 Replies
5. Shell Programming and Scripting
Hi,
typeset -l sgf # all lowercase letters
typeset -u SGF # all uppercase letters
sgf=$1
SGF=$sgf
these lines used in my scripts . It ran fine in ksh but when we convert this to bash it erroring out.
I like to know what the use of typeset ??
Thanks & Regards
kanagaraj (3 Replies)
Discussion started by: kanagaraj
3 Replies
6. UNIX for Advanced & Expert Users
Hi all,
I have one libxxx.so file ( which I got from a third party ). We use shared library libxxx.sl . Is there any way to convert the .so file to .sl file ?
Thanks in advance
- M (3 Replies)
Discussion started by: kanu_kanu
3 Replies
7. Shell Programming and Scripting
Good evening, I'm currently working on a BASH script to convert audio between file formats and I've come across a snag. At the beginning of the script, I'm having the system check to see if any files with the .m4a extension exist in the directory, and if so, it runs the script. If there are no... (1 Reply)
Discussion started by: KBurkholder
1 Replies
8. Shell Programming and Scripting
Hi there
I'm using this script to convert command line history with Epoch time stamp to human readable. While it works fine with users with /bin/csh shell, it fails to convert for users with /bin/bash shell. Why is this happening? I even changed and added * and after the # but it still didnt... (2 Replies)
Discussion started by: hedkandi
2 Replies
9. Shell Programming and Scripting
Hi,
I am just trying to convert the batch script to bash script and i am stuck at one point where I have the below code
for /f "delims=" %%a in (a.txt) do (
for /f "tokens=1,2,3* delims==" %%i in ("%%a") do (
for /f "tokens=1,2,3* delims= " %%x in ("%%i") do (
if... (4 Replies)
Discussion started by: prasanna2166
4 Replies
10. Shell Programming and Scripting
I have a script below and wanted to change the output into three different file format (3 separate script)
#!bin/bash
#input file format postwrf_d01_20131206_0600_f08400.grb2
#postwrf_d01_YYYYMMDD_ZZZZ_f0HHHH.grb2
#zzzz= 0000,0600,1200,1800 (in UTC)
#HHHH=00000,00600,01200,01800 ..ect (in... (1 Reply)
Discussion started by: cumulus_255
1 Replies
LEARN ABOUT OSX
img-pixmap
img-pixmap(n) img-pixmap(n)
__________________________________________________________________________________________________________________________________________________
NAME
img-pixmap - Img, Pixmap Image type (pixmap)
SYNOPSIS
package require Tk
package require img::pixmap ?1.3?
image create pixmap ?name? ?options?
imageName option ?arg arg ...?
imageName cget option
imageName configure ?option? ?value option value ...?
_________________________________________________________________
DESCRIPTION
The package img::pixmap is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its
own, via package require img::pixmap.
Like all packages of Img it does not provide new commands, but extends the existing Tk command image.
In contrast to all other sub packages this packages does not extend Tk's photo image type, but rather provides a completely new image type,
on the same level as photo and bitmap.
CREATING PIXMAPS
Like all images, pixmaps are created using the image create command.
image create pixmap ?name? ?options?
Pixmaps support the following options:
-data string
Specifies the contents of the source pixmap as a string. The string must adhere to X11 pixmap format (e.g., as generated by
the pixmap program). If both the -data and -file options are specified, the -data option takes precedence.
-file name
name gives the name of a file whose contents define the source pixmap. The file must adhere to X11 pixmap format (e.g., as
generated by the pixmap program).
IMAGE COMMAND
When a pixmap image is created, Tk also creates a new com mand whose name is the same as the image. This command may be used to invoke
various operations on the image. It has the following general form:
imageName option ?arg arg ...?
Option and the args determine the exact behavior of the command. The following commands are possible for pixmap images:
imageName cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the image cre-
ate pixmap command.
imageName configure ?option? ?value option value ...?
Query or modify the configuration options for the image. If no option is specified, returns a list describing all of the available
options for imageName (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 identi cal 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 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
image create pixmap command.
SEE ALSO
img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-
tga, img-tiff, img-window, img-xbm, img-xpm
KEYWORDS
image handling, pixmap, tk
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.net>
Img 1.3 img-pixmap(n)