Search Results

Search: Posts Made By: nabmufti
2,396
Posted By nabmufti
actually the line pattern is not regular but i...
actually the line pattern is not regular but i extracted the output data
from file i.e. date , time ,NCEN , TAXAL , EVENT ,& AGEO
now i have the regular 1 line space in output

!...
2,396
Posted By nabmufti
sort certain patten ???not the whole file?
hi all
i want help in sortng date in paragraphs within file ,
i want to ask as if there any option to sort a certain pattern of file not the rest of file.i.e the data of file become sorted with...
3,507
Posted By nabmufti
how to sort paragraphs by date within a file
hi all
i want help in sortng date in paragraphs within file ,
i want to ask as if there any option to sort a certain pattern of file not the rest of file.i.e the data of file become sorted with...
3,868
Posted By nabmufti
i tried the code below sed -e...
i tried the code below

sed -e '/A0628/s/^/\n/g' sort.txt | sed '/./{H;d;};x;s/\n/={NL}=/g' | sort -n | sed '1s/={NL}=//;s/={NL}=/\n/g'

but i got the error msg again an again that

char 12 :...
11,353
Posted By nabmufti
any one can do it???
plz help me to come to solution of my problem
i want to extract paragraphs line following prefix ! , !! and !!!
i tried so mant times but i coldnt do it
file sample is in given above thraed
11,353
Posted By nabmufti
in short i wnt to extract paragraphs from a file...
in short i wnt to extract paragraphs from a file by prefix ! , !! & !!!
thanx
11,353
Posted By nabmufti
i am trying the code above but the problem...
i am trying the code above

but the problem is this , i have to deal with a log file keeping alarms of dated dec,07-jan 08
i have to extract these alarms entry by entry ,along with the contents it...
11,353
Posted By nabmufti
attention
is any one there to help me out
i am waiting since 2 days
11,353
Posted By nabmufti
how to extract paragraphs from file in BASH script followed by prefix ! , !! and !!!
I]hi all
i am in confusion since last 2 days :(
i posted thraed yesterday and some friends did help but still i couldnt get solution to my problem

let it be very clear
i have a long log file...
3,868
Posted By nabmufti
waiting any one to guide me
by the last post i got no reply and understanding of the code

sed -e '/A0628/s/^/\n/g' sort.txt | sed '/./{H;d;};x;s/\n/={NL}=/g' | sort -n | sed '1s/={NL}=//;s/={NL}=/\n/g'

plz anyone can tel...
3,868
Posted By nabmufti
extract string components from a file by BASH script
thanx Funksen
but will u kindly explain the code u sent in my favor

sed -e '/A0628/s/^/\n/g' sort.txt | sed '/./{H;d;};x;s/\n/={NL}=/g' | sort -n | sed '1s/={NL}=//;s/={NL}=/\n/g'

because i am...
3,868
Posted By nabmufti
extract string components from a file by BASH script
following the script i got here worked well in getting file input


#!/bin/bash
alarm= `cat ~/alkatel.txt`
echo $alarm | while read line
do
{
echo $line
}
done


thanx 4 it:b:

but...
3,868
Posted By nabmufti
help needed to extract string components from a file by BASH script
actually i want you to have a complete understanding of my problem cozi am beginer & i am still stucked
:mad:

i have no problem with using space i.e

:
#!/bin/bash
alarm= `cat ~/alkatel.txt
...
3,868
Posted By nabmufti
a bit longer part of file to be input to make u guys ver clear
file starts as follows

>> ALAIL;

CMD ALAIL 06095 08-01-30 11-58-23
INP ALAIL 06095 08-01-30 11-58-23
OPTEX=



RES ALAIL 06095 08-01-30 11-58-24
...
3,868
Posted By nabmufti
help needed urgently
hi all
i need help
I am confused and stucked. Actually i am new in this scripting stuff. I want to give complete txt file as a input to a variable and then sort the data in the file according to...
Showing results 1 to 15 of 15

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