I was thinking about to use that, the problem is that originaly I had a script witch allow me to include this number in a comand to download some file.
then, with your script I manadge to print all the line of the file,
but then it's does't seem to work to create command
I put echo to debug it but I want to make it part of a comand with wget.
Hi I'm new to this. I need to cut off the last 10 digits from a line.
I've used awk {'print $4'} filename.txt | cut -c 32-42 but this does not guarantee only the last 10 characters.
Please help. Thanks.
Sara (4 Replies)
Hi All,
I am new to shell script.
I wrote a very small script that takes only digits as input-
but there is some problem in that.can you help me in debugging that.
#!/bin/ksh
echo "Digits as input"
read number
digit='eval '
if ]
then
echo "Entered number is a digit"
else
echo... (2 Replies)
Hi there,
I am new to scripting. Can anyone help me in writing a script which will display all the digits between 1 and 5 inclusive, one digit per line. Should use a loop to do this.
Thanks in advance!! (3 Replies)
I want to check the argument in KSH. If the user type in the prompt 'find 3' it will format 3 to 003 to match the data in the text file. Same as with 10 to 010. Always begins with 0.
eg.
>find 3
Output:
003
>find 30
Output:
030 (7 Replies)
hi group,
How can I count total number of 5's which are continuous in the end. i.e. in the below string, the o/p should be 4
I just know to calculate total number of 5's
$ echo "95952325555" | awk -F "5" '{print NF-1}'
6 (3 Replies)
Hi Folks
Probably an easy one here but how do I get a sequence to get used as mentioned. For example in the following I want to automatically create files that have a 2 digit number at the end of their names:
m@pyhead:~$ for x in $(seq 00 10); do touch file_$x; done
m@pyhead:~$ ls file*... (2 Replies)
Hello all! I've looked all over the internet and this site and have come up a loss with an easy way to make a bash script to do what I want to do. I have a file with a naming convention as follows:
2012-01-18 string of words here 123.jpg
2012-01-18 string of words here 1234.jpg
2012-01-18... (2 Replies)
Hi,
How I can replace last 8 ZEROS with 22991231?
19523479811841494432A2013052700000000
19523479811730333980A2013052700000000
19523479811417044397A2013052700000000
19523479811205895810C2013010120130131
A9523479811205895810A2013020120130228
19523479811205895810I2013030120130331... (9 Replies)
Is there any program that can create 6 digit numbers with:
(DIGIT_1)+(DIGIT_2)+(DIGIT_3)+(DIGIT_4)+(DIGIT_5)+(DIGIT_6)=10
Any perl or C also can. Anyone can help me? Thank you (6 Replies)
Hi All ,
I am having an input file as stated below
5728 U_TOP_LOGIC/U_CM0P/core/u_cortexm0plus/u_top/u_sys/u_core/r03_q_reg_20_/Q 011
611 U_TOP_LOGIC/U_CM0P/core/u_cortexm0plus/u_top/u_sys/u_core/r04_q_reg_20_/Q 011
3486... (4 Replies)
Discussion started by: kshitij
4 Replies
LEARN ABOUT OSF1
timer_getoverrun
timer_getoverrun(3) Library Functions Manual timer_getoverrun(3)NAME
timer_getoverrun - Obtains the overrun count for a specified timer
LIBRARY
Realtime Library (librt.so, librt.a)
SYNOPSIS
include <time.h>
int timer_getoverrun ( timer_t timerid );
PARAMETERS
timerid The timer for which to return the overrun count.
DESCRIPTION
The timer_getoverrun function returns the overrun count for a specified timer. The count contains the number of extra timer expirations
that occurred between the time the signal was queued and when it was delivered, up to but not including the implementation-defined maximum
DELAYTIMER_MAX.
RETURN VALUES
Upon successful completion, the timer_getoverrun function returns the overrun count for the timer specified. If the timer overrun count is
equal to or greater than DELAYTIMER_MAX, the overrun count is set to DELAYTIMER_MAX. If the function fails, it returns -1 and sets errno
to indicate the type of error that occurred.
ERRORS
The timer_getoverrun function fails under the following condition:
[EINVAL] The specified clock ID is not defined.
RELATED INFORMATION
Functions: clock_getres(3), clock_gettime(3), clock_settime(3), timer_delete(3), timer_gettime(3), timer_settime(3)
Guide to Realtime Programming delim off
timer_getoverrun(3)