Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!bryan From: bryan@cs.utexas.edu (Bryan Bayerdorffer) Newsgroups: comp.sys.amiga Subject: Re: Yea, but can an Amiga Shell do this.... Message-ID: <3185@cs.utexas.edu> Date: 18 Aug 88 06:29:02 GMT References: <8808180107.AA05574@cory.Berkeley.EDU> Sender: news@cs.utexas.edu Reply-To: bryan@cs.utexas.edu Organization: Spam Detection & Removal Squad, Austin, TX Lines: 41 Spam-Content: Negligible In article <8808180107.AA05574@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: =- =- Actually, the standard AMIGA way of doing 'parent directory' is a =-single slash, which I find much easier than having to type '..' all the time: =- Agreed, but there are some arguments for using '..': One, many are used to it; two, it might be nice to reserve '/' for a shell that allows you to specify a virtual root whose subdirectories are all your actual storage devices, like dh0:, vd0:, df0:, etc. I.e., a full path would be /dh0/... This would get rid of the 'rename across devices' annoyance, which I currently circumvent with the following alias: #mv between devices (does not handle a file named "-end") alias dmv "%f set s \"\"; set dest \"\"; foreach c ( $f -end ) \"if $c <> -end; set r $s; set s $s $c; endif\"; cp -r $s; rm -r $r" =- Un fortunetly, there is a bug in my shell (fixed soon) when you =- give a relative path for the destination directory that begins with =- a '/'. =- You wanna talk bugs, try this: >>set $ foo >>echo $ foo >>set $foo bar >>echo $foo $foo >>echo $ bar [yes, really!!] =- Unfortunetly, the real CSH is copyrighted. If I were to port the =-source it my be a breach of contract with the university. Yeah, wherefore I included the smiley. ______________________________________________________________________________ /_____/_____/_____/_____/_____/_____/_____/_____/_____/_____/_____/_____/_____/ |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____| _No dark sarcasm in the classroom|_____|_____|_____|_____|_____|_____|_____|___ |____Teachers leave the kids alone__|_____|_____|_____|_bryan@cs.utexas.edu___| ___|_____|_____|_____|_____|_____|_____|{ihnp4,seismo,...}!cs.utexas.edu!bryan_ |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|