Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Aussie_Bloke
4,484
Posted By Aussie_Bloke
Thanks for all of your help everyone, but it's to...
Thanks for all of your help everyone, but it's to no avail, the assignment (You were right LivinFree) still doesn't work, and as a result of my lack of prgamming and understanding of UNIX, it's going...
4,484
Posted By Aussie_Bloke
G'day again Can you see anything wrong with...
G'day again

Can you see anything wrong with this? As it's still caliming that the indicated area is unexpected.

cd logs
grep B *.*
else
grep R...
4,484
Posted By Aussie_Bloke
Ok, added second ;; in 3) of second case...
Ok, added second ;; in 3) of second case statement, now claims that it's unexpected

Filename: syntax error at line 157: ';;' unexpected

Is the UNIX server that I'm using on drugs? Or is it just...
4,484
Posted By Aussie_Bloke
Alright, have done that, but I'm still getting...
Alright, have done that, but I'm still getting unexpected end of file messages
4,484
Posted By Aussie_Bloke
Tell yas what, I'll just post the whole file...
Tell yas what, I'll just post the whole file here, 'cept that I'll remove a few comments (The language leaves something to be desired)

#!/bin/sh
#Menu bit
if [ $# -ne 2 ]
then
echo Invalid...
4,484
Posted By Aussie_Bloke
Tell yas what, I'll just post the whole file...
Tell yas what, I'll just post the whole file here, 'cept that I'll remove a few comments (The language leaves something to be desired)

#!/bin/sh
#Menu bit
if [ $# -ne 2 ]
then
echo Invalid...
4,484
Posted By Aussie_Bloke
Rightio fellas (No offense) Now that the...
Rightio fellas (No offense)

Now that the mongrel code seems to have been conquered (At least for the moment)

But now it seems that the ending of the file has given Unix the chance to have...
4,484
Posted By Aussie_Bloke
Sorry mate Should've told yas sooner, I've...
Sorry mate

Should've told yas sooner, I've already found that one

Thanks anyways

Still doesn't work though, claims that there's an unexpected `)'
(Indicated with ** Code **)
Somewhere in...
4,484
Posted By Aussie_Bloke
G'day LivinFree The case statement that is...
G'day LivinFree

The case statement that is out of sorts is actually within another case statement, would that possible have any effect on the outcome, given that there's 4 items to choose from in...
4,484
Posted By Aussie_Bloke
G'day The problem that I've got is that I've...
G'day

The problem that I've got is that I've written a Bourne Shell script, complete with case statements, and it seems that UNIX believes that there's a part missing.

The error that I receive...
4,484
Posted By Aussie_Bloke
Bourne Shell Scripting CRISIS
:( :( :(

G'day all

This is a desperate call to those out there who know anything about Bourne Shell scripting, as I'm in the middle of a crisis

Pleae E-Mail me if you believe you can help...
2,175
Posted By Aussie_Bloke
Hey LivinFree As far as I can tell, I'm...
Hey LivinFree

As far as I can tell, I'm using Sun 5.6, in a Bourne Shell script.

The whole purpose of the program is to create copies of files in a /backup directory with a .bak extension added...
2,175
Posted By Aussie_Bloke
Logging
G'day

Just wondering if anyone out there knows how to log files, using the example I provided in the earlier message / question earlier today:
:confused:
If I was to backup a file, how could I...
1,669
Posted By Aussie_Bloke
Beaut Thanks a ton mate Cheers and...
Beaut

Thanks a ton mate

Cheers and Beers

Aussie_Bloke
1,669
Posted By Aussie_Bloke
File Existence Question (Urgent)
G'day all

Just wondering if anyone can help me, is it possible, within a Bourne Shell script, to check if a entered file exists? :confused:

An example would be (And this is the reason why I'm...
Showing results 1 to 15 of 15

 

Featured Tech Videos

All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy