i have a file and i need the text to line up
currently the file looks like so
job scheduled complete
12 12:00 wendsday
13 1:00 wednsday
its a text file but not sure how to manipulate the file for it to line up (3 Replies)
hi
I have two file that I would like to paste line by line. I use to use paste for this. But my current platform will not have paste utility. Could anyone please suggest how I it can be done using sed,awk or even simple bourne shell scripts?
Thanks
Sabina (1 Reply)
Hi all,
I'm a unix newb andI'm trying to write a script that can copy some text paste it in a certian place and then add a number. It's not really clear but I'll show an example.
what the file looks like right now:
Linux 2.6.24-24-generic (abc) 07/15/09
23:25:01 CPU ... (6 Replies)
Hi everybody,
I have two XML files.
I am working on a script that could copy and paste the contents of the first xml file to the desired location in the second xml file.
Here is my first XML file.
This is the second XML file.
Finaly, I wnat to obtain something like that :
... (2 Replies)
Hello,
I have this path and file:
/dir/dir/dir/dir/dir/dir/dir/dir/dir/THIS_SPOT/fle.txt
I want to end up with:
/dir/dir/dir/dir/dir/dir/dir/dir/dir/THIS_SPOT/fle.txtTHIS_SPOT
Take the dir after the 10th slash, add a tab at the end and paste the dir it copied.
Thanks (4 Replies)
I'm having a problem copy/pasting from a txt file in windows to vi. What happens is I copy a chunk of text, go to the putty terminal, go into insert mode, and right click, and it will stop pasting at a random point and freeze up. Nothing I do gets out of it.
This only happens on my account... (1 Reply)
Hello,
I am quite new to shell scripting so don't know all the tools available. What I'm trying to do is open a file optimal.txt search for objectiveValue and copy the number in quotes next to it.
e.g.
...
solutionName="incumbent"
solutionIndex="-1"
objectiveValue="13246"
... (6 Replies)
I am a newbie and would like some help with the following -
Trying to search fileA for a string similar to -
AS11000022010 30.4 31.7 43.7 53.8 60.5 71.1 75.2 74.7 66.9 56.6 42.7 32.5 53.3
I then want to replace that string with a string from fileB - ... (5 Replies)
I have:
2012/01_January/Kite/foldername/otherfoldername/placeholderBlue
I want to end up with:
/foldername/otherfoldername/2012/01_January/Kite/Blue
Basically take everything before the first tab and put it in the place of the consistently named word placeholder and add a slash in place... (2 Replies)
Discussion started by: crowman
2 Replies
LEARN ABOUT OSX
ctanhl
CTANH(3) BSD Library Functions Manual CTANH(3)NAME
ctanh -- complex hyperbolic tangent function
SYNOPSIS
double complex
ctanh(double complex z);
long double complex
ctanhl(long double complex z);
float complex
ctanhf(float complex z);
DESCRIPTION
ctanh(z) computes the hyperbolic tangent of the complex floating-point number z.
For all complex floating point numbers z,
ctanh(conj(z)) = conj(ctanh(z)),
ctanh(-z) = -ctanh(z).
SPECIAL VALUES
The symmetries of ctanh() are used to abbreviate the specification of special values.
ctanh(0 + 0i) returns 0 + 0i.
ctanh(0 + inf i) returns NaN + NaN i, and raises the invalid flag.
ctanh(0 + NaN i) returns NaN + NaN i.
ctanh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x.
ctanh(x + NaN i) returns NaN + NaN i, for finite nonzero x.
ctanh(inf + 0i) returns 1 + 0i.
ctanh(inf + yi) returns 1 +- 0i, for finite positive y, with the sign chosen to match the sign of sin(2y).
ctanh(inf + inf i) returns 1 + 0i.
ctanh(inf + NaN i) returns 1 + 0i.
ctanh(NaN + 0i) returns NaN + 0i.
ctanh(NaN + yi) returns NaN + NaN i, for nonzero numbers y.
ctanh(NaN + NaN i) returns NaN + NaN i.
NOTES SEE ALSO ctan(3)complex(3)STANDARDS
The ctanh() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution