10-06-2009
Hi and thanks for the reply.
It kind of worked, now I get the following result.
11111111111111111^M22222222222222222^M
Any ideas how to remove the ^M
Cheers
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
what is the sed command to remove the first two characters of every line of a text file?
each line of the text file has the same amount of characters, and they are ALL NUMERIC. there are hundreds of lines though.
for example,
>cat file1.txt
10081551
10081599
10082234
10082259
20081134... (20 Replies)
Discussion started by: ajp7701
20 Replies
2. UNIX for Advanced & Expert Users
Problem: I have a lot of files, the files first line should always have 4 spaces before any text. Occasionally some of the files will miss the leading spaces and it's a problem. This is only in the first line.
So if there are 4 spaces then text, do nothing. If there are not 4 spaces, add 4... (2 Replies)
Discussion started by: Vryali
2 Replies
3. Filesystems, Disks and Memory
Hi,
Here is some of the setup information on system:
Tru64 UNIX OS and Two Hard Drives installed. One drive is boot drive and other is spare (Spare drive currently has some back up information on it). here is just a couple of the device/partition/mount points on boot drive.
/dev/rz0a on... (4 Replies)
Discussion started by: willirb1
4 Replies
4. HP-UX
Hi,
Here is some of the setup information on system:
Tru64 UNIX OS and Two Hard Drives installed. One drive is boot drive and other is spare (Spare drive currently has some back up information on it). here is just a couple of the device/partition/mount points on boot drive.
/dev/rz0a on... (4 Replies)
Discussion started by: willirb1
4 Replies
5. Shell Programming and Scripting
How do transform only the first line that matches my regex? I've tried q but it just quit my script in the middle. (9 Replies)
Discussion started by: yogert909
9 Replies
6. Shell Programming and Scripting
I need to take one column of data and put it into the following format:
1st line,2nd line
3rd line,4th line
5th line,6th line
...
Thanks! (6 Replies)
Discussion started by: batcho
6 Replies
7. UNIX for Dummies Questions & Answers
How would you do vim copy line and paste at the beginning, middle, and end of another line. I know yy copies the whole line and p pastes the whole line, but on its own separate line. Sometimes I would like to copy a line to the beginning, middle, or end of another line. I would think this would be... (3 Replies)
Discussion started by: cokedude
3 Replies
8. Shell Programming and Scripting
Hi all,
I have a log file say Test.log that gets updated continuously and it has data in pipe separated format. A sample log file would look like:
<date1>|<data1>|<url1>|<result1>
<date2>|<data2>|<url2>|<result2>
<date3>|<data3>|<url3>|<result3>
<date4>|<data4>|<url4>|<result4>
What I... (3 Replies)
Discussion started by: pat_pramod
3 Replies
9. UNIX for Beginners Questions & Answers
hi
I have 2 file with more than 10 columns for both
1st file
apple,0,0,0......
orange,1,2,3.....
mango,2,4,5.....
2nd file
apple,2,3,4,5,6,7...
orange,2,3,4,5,6,8...
watermerlon,2,3,4,5,6,abc...
mango,5,6,7,4,6,def.... (1 Reply)
Discussion started by: tententen
1 Replies
10. UNIX for Beginners Questions & Answers
Input file:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 (6 Replies)
Discussion started by: Sagar Singh
6 Replies
y0(3M) y0(3M)
NAME
y0(), y0f(), y0l(), y0w(), y0q(), y1(), y1f(), y1l(), y1w(), y1q(), yn(), ynf(), ynl(), ynw(), ynq() - Bessel functions of the second kind
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
and return Bessel functions of x of the second kind of orders 0 and 1 respectively. returns the Bessel function of x of the second kind of
order n.
and are versions of snd each takes a argument x and returns a result.
and are versions of and each takes a arguement x and returns a result.
and are version of and each takes an argument x and resturns an result.
and are version of and each takes a argument x and returns a result.
USAGE
To use these functions, compile either with the default option or with the and options. Make sure your program includes Link in the math
library by specifying on the compiler or linker command line.
To use (for Integrity servers) or compile also with the option.
RETURN VALUE
If x is negative or zero, and return (equal to -INFINITY).
If x is NaN, and return NaN.
If the correct result would overflow, and return
ERRORS
No errors are defined.
SEE ALSO
j0(3M), math(5).
M. Abramowitz and I. Stegun, (New York: Dover Publications, 1972).
STANDARDS CONFORMANCE
y0(3M)