Search Results

Search: Posts Made By: hyennah
5,097
Posted By hyennah
how to delete M-^M characters from a file
I am receiving a file with 'M-^M' characters...how do I get rid of these characters.
I tried tr -d '\015' and sed '/^M//g', but they didnot work.

Appreciate if someone can help me with this
5,248
Posted By hyennah
Thank You!
Great....thank You for all your help.It works for what I am trying to do...
5,248
Posted By hyennah
Here is what I tried and the output I am getting ...
Here is what I tried and the output I am getting

f1=`awk '/^TPS REPORT/ {getline;getline; print $1}' $ipfile`
f2=`awk '/^TPS REPORT/ {getline; getline; getline; print $2}' $ipfile`
echo $f1...
5,248
Posted By hyennah
zaxxon, I was trying for something similar and...
zaxxon, I was trying for something similar and gave a simplified example to show what I needed.I actually am doing something like this ,I am not getting the needed output..could you help me on this....
5,248
Posted By hyennah
Thank You! Zaxxon ...yes...it works as your...
Thank You! Zaxxon ...yes...it works as your output shows...I was having issues with my input file as it had ^z characters which I did not see before.
I fixed it now and this works.....appreciate...
5,248
Posted By hyennah
Thank you for your reply, it did not work when I...
Thank you for your reply, it did not work when I tried to implement it as is.
I could get the second field from second line using the following code, but I cannot repeat it for every record in the...
5,248
Posted By hyennah
AWK ??-print for fields within records in a file
Hello all,
Would appreciate if someone can help me out on the following requirement.

INPUT FILE:

--------------------------

TPS REPORT

abc def ghi
jkl mon pqr
stu vrs lll

END OF...
7,823
Posted By hyennah
Issues with exit after running jobs in background
I have the following sample script to run a script the jobs with the same
priority(in this case field3) in parallel; wait for the jobs to finish
and run the next set of jobs in parallel.When all...
19,383
Posted By hyennah
thanks! tail +2 was throwing me off...its clear...
thanks! tail +2 was throwing me off...its clear now...thanks again for your time
19,383
Posted By hyennah
Thank You Mona...could you please explain how it...
Thank You Mona...could you please explain how it ensures that the latest file is not deleted?
19,383
Posted By hyennah
Find and remove all but the latest file
Hi,

Would appreciate if someone could help me with the following requirement.

Say I have a directory where a file called abc_$timestamp.txt is created couple of times in a day.
So this...
10,026
Posted By hyennah
Run a same script in parallel with diffs parameters
i have script say some_script.ksh that takes an argument

I need to run some_script.ksh in background parallely at the sametime with different arguments.

Once all the background jobs complete,...
Showing results 1 to 12 of 12

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