Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: gehlnar
1,500
Posted By gehlnar
Hi Geek, Thanks for your input , this will...
Hi Geek,

Thanks for your input , this will help me if i use perl script.

Regards,
gehlnar
1,500
Posted By gehlnar
Hi Danmero, Thank you very much. It gives...
Hi Danmero,

Thank you very much. It gives me exact result.

Regards,
gehlnar
1,500
Posted By gehlnar
Managing sequence to make unique record
Hi Everyone,

Using shell script i am getting final file as attached below. In this 4th column value should be unique using any sequence.
for instance I've 1_13020_SSGM which is appearing 6 times...
1,823
Posted By gehlnar
vgersh, Step 1 :Initial File Conversion for...
vgersh,

Step 1 :Initial File Conversion for basic calculation
cat INPUTFILE |tr -d '\015'|sort -k1,2|nawk -F'|'
'BEGIN {OFS="~"}!/^PL/{next}$2=="L" && $3=="L"...
1,823
Posted By gehlnar
Thanks Vgersh , I have correct the code as per...
Thanks Vgersh , I have correct the code as per your advise.

I am getting expected output if i use awk operation twice i.e. by storing the output before array operation
and on new file if i use...
1,823
Posted By gehlnar
Hi , This is the expected output. ...
Hi ,

This is the expected output.

Expected Output
==============
PLPKO0000016~PKO S.A.~SHS~20000
PL0000101937~DS1110~FMT~100000
PLKGHM000017~KGHM~SHS~10000

But if you see my original...
1,823
Posted By gehlnar
File conversion and awk
Hi Everyone,
I am confused with the output of the input file and I am using below command in script to get the expected output.
Also I want to add another condition using logical AND (&&) in place...
1,425
Posted By gehlnar
Try with set spool on as by default it will be...
Try with set spool on as by default it will be off.

Cheers gehlnar
1,765
Posted By gehlnar
Yogesh, Thanks for providing more...
Yogesh,

Thanks for providing more infomation.

Cheers,
gehlnar
1,765
Posted By gehlnar
Hi All, Kerberize Application host is a...
Hi All,

Kerberize Application host is a host which have kerbores application installed on it .basically when kerbores is installed on unix server then it create a default file called .k5login...
1,190
Posted By gehlnar
Vgersh, Ur solution was really helpful......
Vgersh,

Ur solution was really helpful... thank you very much.

Cheers,
gehlnar
1,190
Posted By gehlnar
vgersh, I think validation of B and L , i...
vgersh,

I think validation of B and L , i will do using shell and I was not sure about the rest of the things..I have corrected the Output and there was slight mistake in output.

Cheers,...
1,190
Posted By gehlnar
File conversion
Hi Everyone,

Can someone plesae advise on converting the inputted file into required output? First field is L then amount will - symbol.
Sample input file
...
Forum: Solaris 04-07-2009
1,902
Posted By gehlnar
Thanks R.T. It is worked properly for me. ...
Thanks R.T.

It is worked properly for me.

Cheers ,
gehlnar
Forum: Solaris 04-07-2009
1,902
Posted By gehlnar
awk output query
Hi Everyone,

When i issue command like

ls -l | awk '/udtts/ {print $9}'
===============================

I am getting output as

udttsGEHLNAR.6864
udttsGEHLNAR.7921...
1,083
Posted By gehlnar
Thanks Joeyg, This is what i was looking. ...
Thanks Joeyg, This is what i was looking.

Cheers,
gehlnar
1,083
Posted By gehlnar
groups starting with c2?
I have some groups and when i issue a command like
groups $LOGNAME
it displays in one line
rfautosys c2ru cash2
I want to fetch only group starting with c2 but when i grep i am getting full...
1,765
Posted By gehlnar
Kerberize Application host
I have no idea about Kerberize Application host for Solaris. Can someone please shed light on this?

Cheers,
gehlnar
1,975
Posted By gehlnar
Can you try with who|uniq , see whether you are...
Can you try with who|uniq , see whether you are get rid of dups.

Cheers,
gehlnar
4,036
Posted By gehlnar
Yes,gzip is far better utility than compress... ...
Yes,gzip is far better utility than compress... i have used it effectively. i hope it will be helpful for u too.

Cheers ,
gehlnar
4,036
Posted By gehlnar
Can you try with gzip instead of compress.. ...
Can you try with gzip instead of compress..

Cheers,
gehlnar
9,718
Posted By gehlnar
Hi Saif, Try this. egrep "TID:09|TID:20"...
Hi Saif,

Try this.
egrep "TID:09|TID:20" Filename.txt

Cheers,
gehlnar
1,743
Posted By gehlnar
Hi Jim, Thanks for your assitance. ...
Hi Jim,

Thanks for your assitance.

Cheers,
gehlnar
1,743
Posted By gehlnar
fetching Month end using cal
Hi ,

Can someone please assist to get monthend using cal utility and monthend shouldn't be saturday or sunday.

Cheers,
gehlnar
7,806
Posted By gehlnar
Thanks whiteboard/nilesh, I don't want to...
Thanks whiteboard/nilesh,

I don't want to change umask value and Looks like we cannot give permission while creating empty file.

Cheers,
gehlnar
Showing results 1 to 25 of 47

 

Featured Tech Videos

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