home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / applicat / 9884 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.7 KB

  1. Path: sparky!uunet!usc!cs.utexas.edu!wotan.compaq.com!moxie!texsun!digi!ajahnv!alfredo
  2. From: alfredo@ajahnv.lonestar.org (Alfredo Jahn V)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: "ls" command that displays file links
  5. Message-ID: <alfredo.04cc@ajahnv.lonestar.org>
  6. Date: 9 Jan 93 16:27:16 GMT
  7. Organization: Amiga 2000 (Home System)
  8. Lines: 35
  9.  
  10. I am currently using "ls v4.0k" by Kim E. DeVaughn. The only problem
  11. is that file links show up the same as the original file. Is there
  12. a Unix-like "ls" command that shows links, like, for example:
  13.  
  14. -----rwxd       6    2500  Jan  9 00:57   original_file
  15. -----rwxd       6    2500  Jan  9 00:57   link_to_file -> orignal_file
  16.  
  17. Another thing, with "ls v4.0k", is if I have two files, one the original
  18. (called test1) and the other the link (called test2) and I issue a 
  19. command like:
  20.  
  21. [HardDisk:S]: ls -l test*
  22. -----rwxd       6     2500  Jan  9 00:57  test1
  23. -----rwxd       6     2500  Jan  9 00:57  test1
  24.  
  25. Note files show up with the same name...
  26.  
  27. But if I do:
  28.  
  29. [HardDisk:S]: ls -l | grep test
  30. -----rwxd       6     2500  Jan  9 00:57  test1
  31. -----rwxd       6     2500  Jan  9 11:17  test2
  32.  
  33. The two files each have their correct names...
  34.  
  35. NOTE: I use the SKsh (korn shell) so I can do these Unix like things.
  36. Can anyone explain why this works like this? The AmigaDos "list"
  37. command seems to work (I just don't like the way "list" displays
  38. its information.  I've been told that other PD "ls" commands behave
  39. the same way. Comments? Suggestions for a new "ls" I can use? Thanks
  40. in advance.
  41.  
  42. --                                                            //
  43. Alfredo Jahn V             alfredo@ajahnv.lonestar.org    \\ //
  44. Dallas TX 75206                  voice: (214) 821-5481     \X/
  45.