From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f2991708fd57254c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: programming question . . . Date: Sat, 23 Sep 2006 21:22:27 +0200 Organization: Jacob's private Usenet server Message-ID: <87ac4qbd70.fsf@nbi.dk> References: <1158526988.287711.242070@m73g2000cwd.googlegroups.com> NNTP-Posting-Host: taasingegade.news.jacob-sparre.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1159039346 5423 85.82.239.166 (23 Sep 2006 19:22:26 GMT) X-Complaints-To: sparre@jacob-sparre.dk NNTP-Posting-Date: Sat, 23 Sep 2006 19:22:26 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:1v1ZGgFM6VEBb9UJXc9/Z52FDKs= Xref: g2news2.google.com comp.lang.ada:6701 Date: 2006-09-23T21:22:27+02:00 List-Id: "lakeoftea" writes: > I'm trying to write a program that will look at a directory and take > the "_"'s out of all of the files and replace them with spaces. > this seems like an easy program but i haven't used ada since > freshman year and i'm kind of stumped. any ideas. no this is not > for an assignment :) I wouldn't use Ada for this task. On a well-equipped system, it can be done with the command: perl -pe 's/_/ /g' * Greetings, Jacob -- "The current state of knowledge can be summarised thus: In the beginning, there was nothing, which exploded."