Changeset 897 for trunk/example

Show
Ignore:
Timestamp:
05/29/06 18:12:01 (3 years ago)
Author:
kris
Message:

removed tabs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/example/filecat.d

    r646 r897  
    1010void main(char[][] args) 
    1111{ 
    12    if (args.length > 2) 
    13       { 
     12        if (args.length > 2) 
     13           { 
    1414           // open the file for writing 
    1515           auto dst = new FileConduit (args[1], FileStyle.WriteTruncate); 
    1616 
    1717           // copy each file onto dst 
    18           foreach (char[] arg; args[2..args.length]) 
    19                dst.copy (new FilePath(arg)); 
     18           foreach (char[] arg; args[2..args.length]) 
     19                    dst.copy (new FilePath(arg)); 
    2020 
    21       // flush output and close 
    22       dst.close (); 
     21           // flush output and close 
     22           dst.close (); 
    2323           } 
    24    else 
     24        else 
    2525           Cout ("usage: filecat target source1 ... sourceN"); 
    2626} 
  • trunk/example/lineio.d

    r754 r897  
    1818void main (char[][] args) 
    1919{ 
    20    if (args.length == 2) 
    21       { 
     20        if (args.length == 2) 
     21           { 
    2222           // open a file for reading 
    2323           auto file = new FileConduit (args[1]);