~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/fr/utilities/dirname.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>dirname</TITLE>
 
6
  <TYPE>Scilab Function</TYPE>
 
7
  <DATE>April 1993</DATE>
 
8
  <SHORT_DESCRIPTION name="dirname"> get directory from filenames</SHORT_DESCRIPTION>
 
9
  <CALLING_SEQUENCE>
 
10
    <CALLING_SEQUENCE_ITEM>dirs= dirname(files[,flag [,flagexpand]])  </CALLING_SEQUENCE_ITEM>
 
11
  </CALLING_SEQUENCE>
 
12
  <PARAM>
 
13
    <PARAM_INDENT>
 
14
      <PARAM_ITEM>
 
15
        <PARAM_NAME>files</PARAM_NAME>
 
16
        <PARAM_DESCRIPTION>
 
17
          <SP>: a string matrix giving a set of file names.</SP>
 
18
        </PARAM_DESCRIPTION>
 
19
      </PARAM_ITEM>
 
20
      <PARAM_ITEM>
 
21
        <PARAM_NAME>flag,flagexpand</PARAM_NAME>
 
22
        <PARAM_DESCRIPTION>
 
23
          <SP>: boolean optional parameters. (default value <VERB>%t</VERB>).</SP>
 
24
        </PARAM_DESCRIPTION>
 
25
      </PARAM_ITEM>
 
26
      <PARAM_ITEM>
 
27
        <PARAM_NAME>files,dir</PARAM_NAME>
 
28
        <PARAM_DESCRIPTION>
 
29
          <SP>: string matrices.</SP>
 
30
        </PARAM_DESCRIPTION>
 
31
      </PARAM_ITEM>
 
32
    </PARAM_INDENT>
 
33
  </PARAM>
 
34
  <DESCRIPTION>
 
35
    <P><VERB>dirname</VERB> return the dirname of the file entries given in files.</P>
 
36
    <P>
 
37
    If <VERB>flag</VERB> is true the files are first converted to the target 
 
38
    type given by the <VERB>MSDOS</VERB> variable. 
 
39
    Moreover, if <VERB>flagexpand</VERB> is true leading strings like
 
40
    <VERB>HOME</VERB>, <VERB>SCI</VERB> or <VERB>~</VERB> are expanded using environment
 
41
    variables.</P>
 
42
    <P>
 
43
    Note that <VERB>dirname(files,%f)</VERB> can give erroneous results if 
 
44
    pathnames given in files do not follow the convention 
 
45
    given by the <VERB>MSDOS</VERB> variable.</P>
 
46
  </DESCRIPTION>
 
47
  <EXAMPLE>
 
48
<![CDATA[
 
49
files=dirname('SCI/macros/util/poo.sci')
 
50
files=dirname('SCI/macros\util/poo.sci')
 
51
files=dirname('SCI/macros\util/poo.sci.k')
 
52
 ]]>
 
53
  </EXAMPLE>
 
54
  <SEE_ALSO>
 
55
    <SEE_ALSO_ITEM>
 
56
      <LINK>basename</LINK>
 
57
    </SEE_ALSO_ITEM>
 
58
    <SEE_ALSO_ITEM>
 
59
      <LINK>listfiles</LINK>
 
60
    </SEE_ALSO_ITEM>
 
61
    <SEE_ALSO_ITEM>
 
62
      <LINK>pathconvert</LINK>
 
63
    </SEE_ALSO_ITEM>
 
64
  </SEE_ALSO>
 
65
</MAN>