Search Results

Search: Posts Made By: Dim-Wit
7,387
Posted By Dim-Wit
can someone please give me the syntax for getting...
can someone please give me the syntax for getting the $file to have a cksum run on it during a script (it is followed by text) please, i understand i can't use more so i need to use another method
7,387
Posted By Dim-Wit
I have tried this code and I am told there is...
I have tried this code and I am told there is asyntax error from the very first line, it says it is unexpected, could any one give me some help on this?
7,387
Posted By Dim-Wit
The cksum Problem
Hi,

I have a working script, well it works on my machine but when I try it on others the cksum section does not work properly (I know the scripting is not of a high quality but I'm just trying to...
4,228
Posted By Dim-Wit
Hi, this is a cut down version that I have...
Hi, this is a cut down version that I have written from scratch to try and solve the problems I'm having:


#!/bin/sh
filevalidate()
{
case $# in
0) echo "Usage enshar file1 file2 ... >...
4,228
Posted By Dim-Wit
i don't mean the whole thing by the way, just...
i don't mean the whole thing by the way, just this shar section, i don't wanna have to rewrite the script to use differnt functions. Thanks for any help given
4,228
Posted By Dim-Wit
Have you tried running it on unix? it does not...
Have you tried running it on unix? it does not seem to work on mine, if you can show me a version you know works and I'll see if I'm the one with unix being difficult, thanks
4,228
Posted By Dim-Wit
okay my script for the shar section looks like...
okay my script for the shar section looks like this at the mo:

if
echo "cat > $file <<\!EnShAr!\"
echo "\!EnShAr!"
echo "set `cksum $file`"
echo"cksum" $file
check=$1
echo "test $1 =...
4,228
Posted By Dim-Wit
Okay, so I should give "file" a value by doing...
Okay, so I should give "file" a value by doing something like file=$1 yeah? where should I do that. Am I close to my objective here or way off? Sorry about this it's just taking me a min to get my...
4,228
Posted By Dim-Wit
Does anyone else have any ideas why its not...
Does anyone else have any ideas why its not working, says theres a error at line 31 I think
4,228
Posted By Dim-Wit
it's supposed to be $file, thanks for that, and...
it's supposed to be $file, thanks for that, and yes in future I will code my posts before you attack me with something pocket sized and unpleasent
4,228
Posted By Dim-Wit
ignore the line 27, its basically the end of the...
ignore the line 27, its basically the end of the file (I added a little bit of code)
4,228
Posted By Dim-Wit
Hi, thanks for your help earlier, to my...
Hi, thanks for your help earlier, to my understanding this code looks like it should work and I'm very excited about it but the damn thing says the end of line 27 is unexpected, please help!
...
4,228
Posted By Dim-Wit
okay, i'm checking that the file is enshared...
okay, i'm checking that the file is enshared correctly , that theres no proplems that have happened during it being not archived and then it being, not quite sure of the method you see, just been...
4,228
Posted By Dim-Wit
Hi, I am trying to check the file is good, can...
Hi, I am trying to check the file is good, can you show me how this section would be done properly but I want the same format output as originally stated, thanks for any help
4,228
Posted By Dim-Wit
Spot the difference
I posted earlier with a problem it's here (https://www.unix.com/showthread.php?p=302081463#post302081463), I have edited the script a little and it tells me once more that the end of line is...
1,752
Posted By Dim-Wit
Okay thanks very much
Okay thanks very much
1,752
Posted By Dim-Wit
I have tried to add the correct syntax as you...
I have tried to add the correct syntax as you suggested and it grumbles that is unexpected, what am I doing wrong please?
1,752
Posted By Dim-Wit
Just something simple
Hi, new to the forums and just need a little help, I have a sript to write and as far as I can see it should work fine but it refuses to run properly, it has issues with the end of a line but I see...
Showing results 1 to 18 of 18

 
All times are GMT -4. The time now is 06:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy