Search Results

Search: Posts Made By: mab_arif16
2,220
Posted By mab_arif16
Thanks for the reply , the sed -r options doesnt...
Thanks for the reply , the sed -r options doesnt works on my machine (soalris) . ALso there is no . in teh begining of teh text , the file is actually like below
Transaction\Operating...
2,220
Posted By mab_arif16
parsing file
Hi
I need to parse a file in the following format

.PCI\Image test\Batch::I0Main

Status code = 1

.Test\Batch::Tgg0Main

Status code = 1

and need the output like

PCI\Image test...
22,178
Posted By mab_arif16
Thanks Perfect again Arif
Thanks
Perfect again

Arif
22,178
Posted By mab_arif16
HI Can we convert the date to a 24 hour format...
HI
Can we convert the date to a 24 hour format .
MAY 05 2005 01:15:00PM date format to 2005/05/05 13:15:00
Thanks Arif
22,178
Posted By mab_arif16
Thanks That was perfect . Arif
Thanks
That was perfect .
Arif
22,178
Posted By mab_arif16
Date conversion
Hi
I want to convert MAY 05 2005 01:15:00PM date format to 2005/05/05 01:15:00PM .
CAn somebody suggest me a code ,I am new to unix shell programming.
Thanks
Arif
29,841
Posted By mab_arif16
Thanks that was perfect Arif
Thanks that was perfect
Arif
29,841
Posted By mab_arif16
Hi thanks for reply I have like 5 files(*.txt)...
Hi thanks for reply
I have like 5 files(*.txt) in the directory
I want to move only the oldest file in the order of creation to another directory .
I am trying to use
mv (ls -tr *.event |head...
29,841
Posted By mab_arif16
Order files by create date
hi
Is there a way to sort files in the order they were created ,and move them to another directory one by one ,oldest being the first to be moved.
Thanks
Arif
9,607
Posted By mab_arif16
looping for each file
HI
I want to execute the awk command for each file which is of form *.event
I am trying the following code but it is not working ,
#! /bin/csh
set h= *.event
foreach h(*)
set v= `awk -F,...
44,542
Posted By mab_arif16
Thanks everybody for your help ,I got it . ...
Thanks everybody for your help ,I got it .
Thanks
44,542
Posted By mab_arif16
storing output of awk in variable
HI
I am trying to store the output of this awk command
awk -F, {(if NR==2) print $1} test.sr
in a variable when I am trying v= awk -F, {(if NR==2) print $1} test.sr
$v = awk -F, {(if NR==2)...
42,480
Posted By mab_arif16
My file is comma delimited file ,I have to read...
My file is comma delimited file ,I have to read the first column from second line and store it in a variable.Can you give me the exact syntax
Thanks
42,480
Posted By mab_arif16
awk to select a column from particular line number
The awk command awk -F: '{print $1}' test1 gives the first columns of all the lines in file ,is there some command to get a particular column from particular line .
Any help is appreciated....
Showing results 1 to 14 of 14

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