?
Solved

Insert line in file

Posted on 2003-02-22
9
Medium Priority
?
237 Views
Last Modified: 2010-04-01
How can I insert a line at the beginning of a file?
0
Comment
Question by:svvada
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 19

Expert Comment

by:cheekycj
ID: 8003738
Using Java?
0
 
LVL 1

Author Comment

by:svvada
ID: 8004170
That would probably do the trick yes!
0
 
LVL 19

Accepted Solution

by:
cheekycj earned 80 total points
ID: 8005657
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:svvada
ID: 8006641
I was hoping that there was a way around the two file approach. But it doesn't seem that way. Appreciate the help cheekycj!
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 8009186
Any reason for the "C" grade?

CJ
0
 
LVL 1

Author Comment

by:svvada
ID: 8010341
1. I had thought of using that approach my self,
but hoping there would be a easier way.

2. I don't think you put down a lot of hard work to track down  the link. (maby I'm wrong).

It's a solution yes, but it's a easy one.
But I still appreciate the help.
Knowning what I know after your help I'll be able to continue my little project.
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 8010852
svvada: you are new to the site and should read the grading guidelines:
http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp#3

Just b/c Its a link and wasn't the "ideal answer" doesn't mean the answer isn't correct and since it is the only way to do it.. It is correct.

I have links to almost every solution b/c I have been participating here for a while.  Doesn't mean there wasn't effort put before or earlier for it.

CJ
0
 
LVL 1

Author Comment

by:svvada
ID: 8014906
I humbly admit the error of my ways.
Since you're experienced you probably know how we can rectify the situation. Get some of the admins to change the grade to an A, since the solution worked ok!
0
 
LVL 1

Expert Comment

by:Cerebro
ID: 8018671
Changing grade as per request.

svvada: If you have any questions regarding grading issues or need clarification on anything please ask.

Cerebro
Community Moderator
Experts Exchange
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The well known Cerber ransomware continues to spread this summer through spear phishing email campaigns targeting enterprises. Learn how it easily bypasses traditional defenses - and what you can do to protect your data.
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question