Commit Graph

24 Commits

Author SHA1 Message Date
Mark Olesen
03b5d5c108 BUG: foamCleanPath problem if path contains @ (closes #264)
- Can occur with some user names, or mounted paths.
  Resolve by using '?' for the separation character.

  Since '?' is a shell-glob, it is highly unlikely to occur appear in
  filenames.  Additionally, it is not a meta-character in standard sed,
  nor in the GNU extension (which uses '\?').
2016-10-18 09:52:37 +02:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry
56e6f52960 Update header 2013-08-05 15:22:03 +01:00
Henry
ded58b23f9 foamCleanPath: Change sed separator to : to support directory names with @ 2013-08-05 15:18:11 +01:00
mattijs
66a64af359 BUG: foamCleanPath: incorrect test for single argument 2012-03-15 15:42:07 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Mark Olesen
e2cf8f5cf3 ENH: foamCleanPath quick exit on empty 'path' 2011-03-25 18:20:34 +01:00
Mark Olesen
abde400dd5 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	bin/foamCleanPath
2011-02-22 19:24:31 +01:00
mattijs
0ffe4c0fd9 BUG: foamCleanPath: did not remove last element in path when stripping using wildcards 2011-02-21 16:43:11 +00:00
Mark Olesen
32292113f8 ENH: catch empty wildcards in foamCleanPath
- also split on colons for consistency
2011-02-17 16:11:55 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
Mark Olesen
db34c43ab0 STYLE: use 'setenv PATH' instead of 'set path=' for c-shell scripts
- the path is accesible either way, but use setenv for consistency with
  other environment variables. It also simplifies foamCleanPath again.
2010-03-19 16:49:41 +01:00
Mark Olesen
06910c1cd1 ENH: add -space option to foamCleanPath
- this allows more direct use by c-shell
2010-03-05 14:35:47 +01:00
Mark Olesen
07283ff315 ENH: add -builtin option to paraFoam (VTK builtin OpenFOAM reader)
- Also adjusted formatting of usage to match what argList generates
2010-02-05 08:36:44 +01:00
Mark Olesen
ff5137e459 more consistent naming convention for aliases
- old-style (left untouched for now):
  app, lib, run, sol, tut, util

- new-style:
  foamApps, foamLib, foamRun, foamSol, foamTut, foamUtils

- additional aliases:
  userApps, whichFoam

NB: ideally we'd have 'foamSrc' instead of 'src'.
    Do we really need 'foamsrc' and 'foamfv' anyhow?
2009-08-02 09:44:00 +02:00
mattijs
cbd181fa90 do not strip non-existent dirs 2009-04-02 13:11:14 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
172b862c47 added command bin/finddep, added copyright headers to misc bin/ scripts 2008-12-31 16:16:20 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
Mark Olesen
e34c1c75f8 FIX: foamCleanPath wasn't working properly with etc/bashrc.
The call to foamCleanPath from etc/{bashrc,cshrc} passes all the wildcards
together as a single argument - causing nothing to be cleaned.  Now split
the args on whitespace. Also added more IFS hacking to reduce forking.
2008-05-21 10:07:28 +02:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00