Search Results

Search: Posts Made By: Grizzly
5,896
Posted By Grizzly
Start An Hummingbird Exceed Shell With Visual Basic
Hi all.

I have a script that I've finished on Solaris 10 recently. Now they want me to build a GUI for it with VB. This is my first endeavour with VB. I am using Visual Studio 2008 to write the...
6,724
Posted By Grizzly
I dont think I will be able to use the first...
I dont think I will be able to use the first suggestion of using the batch file as the script is used by many people. Perl Tcl/Tk and dtksh sound promising though.

I might give Xdialog a try...
6,724
Posted By Grizzly
Create GUI or Executable For Script
Hi all.

I've got a unix script at work that I just got done with. Now they want me to write some simple way to run it on Windows. Right now we log into a Solaris server using Hummingbird Exceed...
3,555
Posted By Grizzly
Possibly try if your using sh: if [ $a -eq...
Possibly try if your using sh:

if [ $a -eq $w ]
then sh /home/scripts/script1.bash
fi
2,201
Posted By Grizzly
That will replace ...
That will replace

<styleURL>#style0002</styleURL>
<name>*******6105*******</name>

with

<styleURL>#style0003</styleURL>
<name>*******6105*******</name>

?

Just double checking.

I...
2,201
Posted By Grizzly
Replace Text Based On Pattern
Hi I'm trying to replace text in a file based upon a pattern.

The pattern I'm looking for is:

<styleURL>#style0002</styleURL>
<name>#######6105#######</name>The # are seven alphanumeric...
5,001
Posted By Grizzly
Does it work in just sh? Or is there a way to...
Does it work in just sh? Or is there a way to make just that portion of the script run in ksh if that is needed?
5,001
Posted By Grizzly
Use Perl In Bash Script To Compare Floationg Points
Is there a way to compare two floating points numbers in a bash script using perl? I've tried just using a bash if statement and it doesn't seem to support floating point numbers. Can the perl line...
6,651
Posted By Grizzly
Can I still use -le for 'less than or equal' and ...
Can I still use -le for 'less than or equal' and -ge for 'greater than or equal'?
6,651
Posted By Grizzly
Comparing Decimal Numbers
Im trying to compare two numbers with decimals but its not working as expected.


a=1
b=1.1
if [ $a -eq $b ]
then echo "equal"
fi

When I do this it says that the numbers are equal. ...
22,562
Posted By Grizzly
Echo Variables and Text
I've been trying to get the syntax right so I can echo a $var and then text around it or after it. It either wont display text or $var or one overwrites the other at the beginning of the line. ...
3,186
Posted By Grizzly
When I run nawk -F'[>,]' '{print $2, $3}'...
When I run
nawk -F'[>,]' '{print $2, $3}' a.txt | while read A B; do
echo a is $A b is $B
done

on a.txt
-94.49109387652327,39.2956736296775
-93.0906917141962,38.72762798197614...
3,186
Posted By Grizzly
Hah yea it just made sense. Easiest way to...
Hah yea it just made sense. Easiest way to transport code from home to work. I tried out

sed -n 's/.*<coordinates>\(.*\)\,.*/\1/ip;T' Test.kml | while IFS=, read A B; do
echo a is $A b is...
3,186
Posted By Grizzly
This is just to compile some stuff for my...
This is just to compile some stuff for my reference.

sed -n 's/.*<coordinates>\(.*\)\,.*/\1/ip;T' Test.kml
-94.49109387652327,39.2956736296775
-93.0906917141962,38.72762798197614...
3,186
Posted By Grizzly
Extracting From A File Then Processing
Hi. Im working with this data in a file:


-94.49109387652327,39.2956736296775
-93.0906917141962,38.72762798197614
-90.57659976220785,-40.25685140137304
-92.340961875134,39.44522321129584...
1,953
Posted By Grizzly
Sending Key Presses
Hi. Im wondering if there is a way to output key presses using a script? Something like this:


key=down
key=down
key=up


So say if it was sent to Firefox it would make the window scroll...
5,047
Posted By Grizzly
Thanks!
Thanks!
5,047
Posted By Grizzly
Launch Script
Hi all! I just got done writing a script. The problem Im running into is I have to lanuch the script with:


sh SCRIPT.sh

Is there a way to launch it with by just entering


SCIPT
...
4,509
Posted By Grizzly
Remove All Lines Between Two Unique Lines
Hi all! Im wondering if its possible to remove all lines between two lines. Im working with a document like this:

data1
data2
<Remove>
data3
data4
</Remove>
data5
data6

I need it to...
5,458
Posted By Grizzly
Thanks for the help. Yea its a bit obscure of a...
Thanks for the help. Yea its a bit obscure of a layout but I can read it. I suppose I should learn something a bit more readable hah.
5,458
Posted By Grizzly
Script Stuck In Loop
Hi all! Im trying to get this script to check for folders in a year/month/day folder structure and if the day doesnt exist then it makes the day. It will also make sure all of the days before...
14,767
Posted By Grizzly
Create A Simple GUI For Shell Script
Hi all! Im wondering if its possible to create a GUI for a shell script I just got done writing as the people that will be using it dont like the command line all to well. Just something simple...
10,639
Posted By Grizzly
So file is the file its reading or the file its...
So file is the file its reading or the file its writing the output too?

####
I figured it out. ;)
10,639
Posted By Grizzly
Extracting Text Between Two Unique Lines
Hi all! Im trying to extract a portion of text from a file and put it into a new file. I need all the lines between <Placement> and </Placement> including the Placemark lines themselves. Is there a...
4,198
Posted By Grizzly
Extracting Text Between Two Words
Hi all! Im trying to extract a portion of text from a KML and put it into a new file. Im trying to get all of the points out of it, ignoring everything else so I need only the text between...
Showing results 1 to 25 of 32

 
All times are GMT -4. The time now is 07:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy