06-27-2011
perfect man your are really brilliant thanks alot
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
i want to delete a space character in word on unix script with command sed like :
#dia n
result:
#dian
is there anyone will help me ?
regards,
cahyo (1 Reply)
Discussion started by: cahyo3074
1 Replies
2. AIX
Hello I have a flesystem that has run out of space. I have tried using the following command to add space:
# chfs -a size=+100 /lsrc
I get the following error:
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough... (9 Replies)
Discussion started by: dkranes
9 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I cant seem to figure out how I add a character to an existing one. Heres my problem.
So I have a line that looks like this:
>56
584848392394958586858484849393
What I want to do is add Num in front of the 56. So basically I want to recognize the > and add Num in front of the... (6 Replies)
Discussion started by: kylle345
6 Replies
4. Shell Programming and Scripting
Hi...
i need a script to remove the space before and after the operator like( / ).
Ex :
Input file
apple / manago
mango / fresh apple / fresh
Desired output:
apple/manago
mango/fresh apple/fresh
Note: betwee the desired operator space should be removed, between words do not remove... (3 Replies)
Discussion started by: vasanth_vadalur
3 Replies
5. HP-UX
Hello, I am trying to add space to my existing system and I need a little assistance determining if I have any disk space available to allocate. Here is what I have:
DISKS:
Class I H/W Path Driver S/W State H/W Type Description... (1 Reply)
Discussion started by: dkranes
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I have the following script
S1a="13 9 -0.0012041"
S1b="13 8 -1.00000 "
sed 's/${S1b}/${S1a}/g' funE00.i > tmp1
but the strings are not replaced.
Maybe the problem is in the spaces cointaned in the variables?
Thanks for your help,
Sarah (2 Replies)
Discussion started by: f_o_555
2 Replies
7. Shell Programming and Scripting
Hi All,
Was wondering how I can do the following....
I have a String as follows
"ACCTRL000005022RRWDKKEEDKDD...."
This string can be in a file called tail.out or in a Variable called $VAR2
Now I have another variable called $VAR1="000004785" (9 bytes long), I need the content of... (5 Replies)
Discussion started by: mohullah
5 Replies
8. Shell Programming and Scripting
Hello experts.
I trying to achieve 2 things here. I'm trying to convert all of the host names to lower case and add an "m" to each hostname. Can anyone provide some guidance on what I can do? Your input is greatly valued!
Here are the desired results:
1. read the host name from a file.
2.... (8 Replies)
Discussion started by: david_tech
8 Replies
9. Shell Programming and Scripting
Hi friend,
I have one file , and i want to read that file character by character.
I need this script in ksh.
while using read option with -n1 am getting error.
while read -n1 c read has bad option
And if i am using below script, then if in a line has space like this ( Pallvi mahajan)... (10 Replies)
Discussion started by: pallvi_mahajan
10 Replies
10. Shell Programming and Scripting
Hi,
Anyone can help using SED searches a character string for a specified delimiter character, and returns a leading or trailing space/blank.
Text file :
"1"|"ExternalClassDEA519CF5"|"Art1"
"2"|"ExternalClass563EA516C"|"Art3"
"3"|"ExternalClass305ED16B8"|"Art9"
...
...
... (2 Replies)
Discussion started by: fspalero
2 Replies
LEARN ABOUT REDHAT
endgame
XScreenSaver(1) General Commands Manual XScreenSaver(1)
NAME
endgame - endgame chess screensaver
SYNOPSIS
endgame [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay microseconds] [-fps]
DESCRIPTION
endgame replays a brilliant chess ending
OPTIONS
endgame accepts the following options:
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-wire wireframe mode might be to your liking.
-install
Install a private colormap for the window.
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-fps Display a running tally of how many frames per second are being rendered. In conjunction with -delay 0, this can be a useful
benchmark of your GL performance.
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
BUGS
It's not unknown for this and other OpenGL hacks to fail under hardware accelaration (UtahGLX) and take the X server with them. Texture
images must be 16x16 or 32x32 or 64x64 etc.
SEE ALSO
X(1), xscreensaver(1) xscreensaver-demo(1), xscreensaver-getimage(1)
COPYRIGHT
Copyright (C) 2002 by Blair Tennessy. Permission to use, copy, modify, distribute, and sell this software and its documentation for any
purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice
and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
AUTHOR
Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.
May 2002 XScreenSaver(1)