Hi Guys,
My first post..:)
Right...I want to move existing files (with some date in their name) currently in $mainftp, to $mainfolder/$foldate/system1.
I'd like to be able to increment date in the for loop? Is this possible or should I use a different technique.
The script return the... (4 Replies)
Hi ,
I am trying to increment the nested for loops parellely,but i cant ,i used continue 2 but the second loop not getting increment.
no1="1 6 5 4 8"
no2="4 7 8 0 1"
for var1 in $no1 ; do
for var2 in $no2 ; do
line1
line 2
line 3
continue 2
done
done
Please help on this (4 Replies)
Hi guys,
I'm in a job of converting a restful webservice to soap. Tool for convertation uses XQuery.
Now i need to convert a message like this:
{
"firstName": "John",
"midName": null,
"lastName": "Smith",
"married": false,
"address": {
"streetAddress": "21 2nd... (5 Replies)
Daily stupid question. I want to increment the file name everytime the script is run. So for example if the filename is manager.log and I run the script, I want the next sequence to be manager.log1. So to be clear I only want it to increment when the script is executed. So
./script... (10 Replies)
Hi All,
I have a file which has hundred of records with fixed number of fields. In each record there is set of 8 characters which represent the duration of that activity. I want to sum up the duration present in all the records for a report. The problem is the duration changes per record so I... (5 Replies)
I created script (sh shell) to generate vlc playlist based on some data files. All works fine so far except one string I do not know how to handle with.
VLCSTART='<vlc:id>'
VLCV=0
VLCEND='</vlc:id>'
echo -e $'\n'$'\t'$'\t'$'\t'$'\t'\$VLCSTART$VLCV$VLCENDOutput file contains several occurences... (10 Replies)
I am trying to have the below batch file do following two things:
1. only allow the values YES,yes,Y,y, or NO,no,N,n
2. increment the counter %var1 only if answer to question 2 is "y" and not able to get the syntax correct. If %var1%=1 then I am trying to display function :end. Thank you :).... (0 Replies)
Hi,
I am using solaris 5.10 environment and need help on doing parallel increment of nested for loop.
Samples
#inside the code the values assigned to a variable by another awk command will be like
a=/xyz/pg/as
/xyz/pg/as2
/xyz/pg/as3
b=/xyz/sd/fd1
/xyz/sd/fd2
/xyz/sd/fd3
for q in... (1 Reply)
Discussion started by: ananan
1 Replies
LEARN ABOUT OSF1
xmscrollbargetvalues
XmScrollBarGetValues(3X)XmScrollBarGetValues(3X)NAME
XmScrollBarGetValues - A ScrollBar function that returns the ScrollBar's increment values
SYNOPSIS
#include <Xm/ScrollBar.h>
void XmScrollBarGetValues (widget, value_return, slider_size_return, increment_return, page_increment_return)
Widget widget;
int * value_return;
int * slider_size_return;
int * increment_return;
int * page_increment_return;
DESCRIPTION
XmScrollBarGetValues returns the ScrollBar's increment values. The scroll region is overlaid with a slider bar that is adjusted in size
and position using the main ScrollBar or set slider function attributes. Specifies the ScrollBar widget ID. Returns the ScrollBar's
slider position between the XmNminimum and XmNmaximum resources. Returns the size of the slider as a value between zero and the absolute
value of XmNmaximum minus XmNminimum. The size of the slider varies, depending on how much of the slider scroll area it represents.
Returns the amount of increment and decrement. Returns the amount of page increment and decrement.
For a complete definition of ScrollBar and its associated resources, see XmScrollBar(3X).
RETURN VALUE
Returns the ScrollBar's increment values.
SEE ALSO XmScrollBar(3X)XmScrollBarGetValues(3X)