LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2012, 01:33 AM   #1
spart1985
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
Need to write a shell script to run in cygwin


Hi,
Sorry but I am not at all familiar with shell scripting and now we need to write a shell script which will run in cygwin.
The script should be like a file input, script should read the file and will replace the line breaks with space until an empty line is found.
I looked into several online helps but could find anything specific. As I need this in urgent so it is difficult for me to learn everything now. Please help!!!

Let me know if I need to provide more info.

Thanks.
 
Old 02-21-2012, 01:49 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

I get the strong impression that this is homework and although it's not against the LQ rules to ask for help you shouldn't expect us to do the work for you. Neither should you ask for special attention, it's only urgent to you, not to us who are all volunteers here. That being said, you state you looked at several internet pages for help but couldn't find anything... I find that very hard to believe. Could you indicate what exactly you used as search terms? I got over 1 million hits in 0.23 seconds on Google using 'write shell script cygwin'. That should be enough to get you started. And as far as help goes:

Show us what you've got and where it's failing and we'll point you in the right direction.

Keep in mind that your teacher (if this is indeed homework of some kind), might also be a member of these forums.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
Old 02-21-2012, 01:54 AM   #3
spart1985
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your help and such nice words
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] write a shell script so that it can run as service/daemon deostroll Programming 10 03-08-2010 11:03 AM
Help with Cygwin shell script? corbintechboy General 1 12-26-2007 11:59 AM
need help updating imagemagick on cygwin to run script babag Programming 1 01-25-2007 01:04 PM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration