Hello,
I need to treat a text file. called xxx.bib. It contains about 3000 lines, mainly with " % " sign, .. title= and url= etc. The count of title rows is 229 and same for url.
Code:
%
@INPROCEEDINGS{LiuH2006,
author={Liu, H. and Wan, P. and Jia, X. and Liu, X. and Yao, F.},
booktitle={INFOCOM 2006. 25th IEEE International Conference on Computer Communications. Proceedings},
title={Efficient Flooding Scheme Based on 1-Hop Information in Mobile Ad Hoc Networks},
year={2006},
month={april },
volume={},
number={},
pages={1 -12},
keywords={},
doi={10.1109/INFOCOM.2006.17},
url={http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=4146670},
ISSN={0743-166X},}
%
@INPROCEEDINGS{ZhaoJ2006,
author={Zhao, J. and Cao, G.},
booktitle={INFOCOM 2006. 25th IEEE International Conference on Computer Communications. Proceedings},
title={VADD: Vehicle-Assisted Data Delivery in Vehicular Ad Hoc Networks},
year={2006},
month={april },
volume={},
number={},
pages={1 -12},
keywords={},
doi={10.1109/INFOCOM.2006.298},
url={http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=4146951},
ISSN={0743-166X},}
%
What I want, I want to copy the url e.g. " http://ieeexplore.ieee.org/xpl/artic...number=4146951 " and want to embed it with the title row as like, " \href{http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=4146951},
The title row eventually should look like this, I don't want to remove url= line.
Code:
title={\href{http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=4146951}{VADD: Vehicle-Assisted Data Delivery in Vehicular Ad Hoc Networks}}
Attention, in each bibtex reference file, specific url is for the specific corresponding title.
Could anyone please help me out about coding or any help to create AWK or SHELL script etc.
I will be very much thankful to you for your cooperation.
Bookmarks