Wednesday, 15 June 2011

unix - period characters for current and parent directories in shell script -


Is the two following snippets as equivalent? (This code is in Line 36.)

  [. "$ File" = .. -o. "$ File" = ...]  

and

  ["$ file" =. -o "$ file" = ..]  

If so, then why has it been used first?


No comments:

Post a Comment