Help with slashes in an array



For the life of mean I cant remember how to do this?

I have a array that contains directory paths, all i need to do is pass thoes paths, but because the array contains slashes it fails.

SYNCARRAY( '/tmp/rsynctest/' '/tmp/rsynctest2/' )
rsyncloop.sh: line 6: syntax error near unexpected token `'/tmp/rsynctest/'

.



Relevant Pages

  • Re: Help with slashes in an array
    ... I have a array that contains directory paths, all i need to do is pass thoes paths, but because the array contains slashes it fails. ... Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ...
    (comp.unix.shell)
  • Re: Is there a faster hi resolution timer for diy profiling
    ... in the build options theres optimise code wich makes a slight difference. ... I had to ask how to do 1 or 2 things so far only to be told you cant do ... wich is an array of structs, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Saving and Opening an Array List
    ... I still cant get the reading from array to text field working. ... to the array list 'artists'. ...
    (comp.lang.java.help)
  • Re: Passing string parameter to funtion
    ... wrote in message news: ... I cant get word-variable to function in right ... format. ... there must be something wrong with the data stored in the array. ...
    (comp.lang.c)
  • Re: A use case for an ordered hash
    ... If the lack of pretty syntax for hash literals is your problem then life has been pretty good to you... ... And granted, I dislike it because of the shift key I have to hit, ... but I dislike it less than an array of arrays, ...
    (comp.lang.ruby)