| | |
Help!! bash shell scripting..
![]() |
•
•
Join Date: Dec 2006
Posts: 1
Reputation:
Solved Threads: 0
Can any1 please help me...
i'm really lost in using bash shell scripting...
and i got to hand this up on monday...
please anyone teach me how to do this assignment...
Please use basic things because i just learn the program only... thanks
=====================================================
Main
The script should provide feedback to the user on what is happening. Everytime a reference is modified, the script should display:
Replaced <original reference> with <modified reference>.
and you got to save another copy of the file.
example like: you have a 1.shk, after working on it... you can "auto" save (Don't need user to select yes or no) the file to 1_modified.shk
then once the script has finished reading the source file, it should also display how many references were modified. For example:
A total of 3 references have been changed.
if you were to use sed to replace some word containing “C:\\temp\\project” in the shake file how can you make it replace those with “C:/temp/project”, “C:\\\\temp\\\\project” and even “C:/temp\\\\project”.??
=====================================================
I know this is too much... but can any kind soul help me here... i'm really in deep shit.... thanks... if you really don't understand... please msn me.. need to hand up by monday...
<Email snipped>
i'm really lost in using bash shell scripting...
and i got to hand this up on monday...
please anyone teach me how to do this assignment...
Please use basic things because i just learn the program only... thanks
=====================================================
Main
The script should provide feedback to the user on what is happening. Everytime a reference is modified, the script should display:
Replaced <original reference> with <modified reference>.
and you got to save another copy of the file.
example like: you have a 1.shk, after working on it... you can "auto" save (Don't need user to select yes or no) the file to 1_modified.shk
then once the script has finished reading the source file, it should also display how many references were modified. For example:
A total of 3 references have been changed.
if you were to use sed to replace some word containing “C:\\temp\\project” in the shake file how can you make it replace those with “C:/temp/project”, “C:\\\\temp\\\\project” and even “C:/temp\\\\project”.??
=====================================================
I know this is too much... but can any kind soul help me here... i'm really in deep shit.... thanks... if you really don't understand... please msn me.. need to hand up by monday...
<Email snipped>
Last edited by 'Stein; Dec 9th, 2006 at 3:58 pm. Reason: Spambot protection
Not that I am experienced in Bash or anything, but I believe that without you showing any work yourself, no one else is actually going to help you (unless they're super nice). Another thing is this magical thing that was invented for this kind of thing... What was it called again... Hmm... Google!
Toshiba M115 ● 1.49 GB DDR-2 RAM ● 1.6 GHz Centrino Duo ● 80GB HDD ● Windows XP Media Center Edition
![]() |
Similar Threads
- new to shell scripting, need some help (Shell Scripting)
- how to Upload files using Linux bash Shell scripting and CGI (Shell Scripting)
- Bash shell needs tweeking (Shell Scripting)
- shell scripting help with backup script (Shell Scripting)
- Problem with variables in Windows shell script (Windows NT / 2000 / XP)
- "shell scripting tutorials?" (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: Controlling the keyboard in linux?
- Next Thread: shell script prob
| Thread Tools | Search this Thread |





