Search Results

Search: Posts Made By: bourne
9,385
Posted By bourne
A problem with Awk
Hi All,

I have a problem with the precision using awk. When the total length of the number including the decimal point exceeds 7 then last digit gets truncated

for eg: in calculation...
8,317
Posted By bourne
try using bash
hey dude..


y dont u try using bash shell!

Cheers,
bourne!
24,459
Posted By bourne
Cut Last 3 Fields
I have a text:

dsj khfksjdh <time> EST 2006
ab cgnr jkkjt <time> EST 2006
gfhdgjghg <time> EST 2006
fkdjh kjhsekjrh kdjhfkh jhdfkhfdkjh kjdf <time> EST 2006


In the above file i need to...
5,948
Posted By bourne
Thanks a lot guys... it worked!
Thanks a lot guys... it worked!
5,948
Posted By bourne
Hey anbu... Thanks a lot anbu.. which is the...
Hey anbu...

Thanks a lot anbu.. which is the patter which we are searching for?


Cheers,
Bourne.
5,948
Posted By bourne
Question on Grep!
Hi all,


I am relatively new to Unix... Pls help me with the following :

is there an option ion grep to find the first and last occurence of a pattern in a file?


if not how else can this...
2,259
Posted By bourne
thanks a lot Jean-Pierre... It worked.. thanks...
thanks a lot Jean-Pierre... It worked.. thanks again 4 the timely help! :)
2,221
Posted By bourne
it is like i hava file like ..... ...
it is like i hava file like .....



abcddwed
dsddfdfd
dgsfshfshg
hkjhdkjh
dsdsdsddd


when i say cat $filename | while read line.... the variable $line contains each line until end...
2,259
Posted By bourne
REad Command
I am Doin the Following:


cat $filename | while read line
do
...
...

done


But the read commanfd ignores the leading spaces in a line .. i want to read the line with leading spaces.....
9,190
Posted By bourne
SMS using Mailx
Can anyone further elaborate on what is this webline enabling??
5,256
Posted By bourne
hey sravan... r u curretly in dallas now?......
hey sravan... r u curretly in dallas now?... anyways... try this:

su - <username>
4,258
Posted By bourne
reason could be that u could be using solaris.....
reason could be that u could be using solaris.. not linux.. is that so?
1,833
Posted By bourne
Y2.038K bug
Does any1 hav the idea abt wat cause this bug in unix on jan 19th 2038??? please enlighten me abt it....
2,866
Posted By bourne
yes i hav tried all alternatives.. but does not...
yes i hav tried all alternatives.. but does not work.. what can b done?
2,866
Posted By bourne
this problem occured only when trying to use...
this problem occured only when trying to use awk... is there anyother alternative???
2,866
Posted By bourne
Awk Problem
when i try to read records with more than 6000 charecters in a line.. the record says..
Record 'xxx xxxx' TOO LONG

what can be the work around??
10,698
Posted By bourne
doesnot give a proper conversion... the above...
doesnot give a proper conversion... the above command... all i c is junk values.. cant make it out... and the reconversion is also not happenin correctly....
10,698
Posted By bourne
EBCIDIC to ASCII
can anyone get a script for converting EBCIDIC data to Unix ina file.. in shell...

thanks in advance!
6,834
Posted By bourne
not sure..but try this ... cp file ...
not sure..but try this ...

cp file tempfile
mv tempfile file
11,333
Posted By bourne
But this wont work if my input data can be like...
But this wont work if my input data can be like this...
A1234a
c2345a
B1234a
a1235a
c1235c
b1235b

i have got a code in perl... but cud not make out wat the hash sort means.. can any1 help?
...
11,333
Posted By bourne
here is the sample : 123456 ABCDEF ...
here is the sample :

123456
ABCDEF
245678
abcdef


the unix output:
123456
245678
ABCDEF
abcdef

the expected output:
ABCDEF
abcdef
123456
245678
11,333
Posted By bourne
SORT order in Unix
I am converting mainframes JCL to be used in shell on a one to one basis... when i use the sort command unix does ascii sort as a result which numbers are first followed by charecters in the...
2,873
Posted By bourne
Serch algorithm in Unix
I cannot sort the entire file because i hav to sort based on certains char like equivalent in mainframes sort fields=(startpos,lenght,asc/desc,char/num)
this pattern can be repeated as many times in...
Forum: Solaris 10-24-2005
2,286
Posted By bourne
Help in Search Algorithm
I am tryin to change the sort fields in mainframes to the equivalent in Unix. I have a large datafile of which i extract only the specified fields ... cut them ... write it into another file with a...
2,873
Posted By bourne
Help in Search ALgorithm in Unix
I am tryin to change the sort fields in mainframes to the equivalent in Unix. I have a large datafile of which i extract only the specified fields ... cut them ... write it into another file with a...
Showing results 1 to 25 of 25

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