User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 426,422 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,370 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 1923 | Replies: 23 | Solved
Join Date: Mar 2008
Posts: 11
Reputation: rayscosmic is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rayscosmic rayscosmic is offline Offline
Newbie Poster

Help add text in the c functions.plz help me

  #1  
Mar 13th, 2008
Hello i am new in perl scripting.I have to write a script to check for .c file and then go in to the ,c file and find all function and insert line1 after "{" and line2 before "}" or before return( if return is present). Can any1 plz help me in it.

Ex: Function(.........)
{
insert line1;
..................
...................
insert line2;
# if return is present add before it
}
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Perl Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Perl Forum