Re: wc user error?

2010-02-20 Thread Faheem Mitha
On Sat, 20 Feb 2010, Andreas Schwab wrote: Faheem Mitha writes: On Sat, 20 Feb 2010, Andreas Schwab wrote: Faheem Mitha writes: wc:  /home/cj35/snpdb/illumina_cj35.fg_40101.map: No such file or directory ^ That character looks like a space, but is a no-break space character (U00

Re: chmod directory mode extention

2010-02-20 Thread Alan Curry
seaking1 writes: > > Hello, > > I would like to suggest and offer the code to extend chmod in a small > way. My extension merely allows for a different mode to be applied to > directories than the one applied to all other files. I have looked for this > utility but never found it and being su

Re: chmod directory mode extention

2010-02-20 Thread Eric Blake
According to seaking1 on 2/20/2010 5:26 PM: > I would like to suggest and offer the code to extend chmod in a small > way. My extension merely allows for a different mode to be applied to > directories than the one applied to all other files. Thanks for the report. However, it is difficult to

chmod directory mode extention

2010-02-20 Thread seaking1
Hello, I would like to suggest and offer the code to extend chmod in a small way. My extension merely allows for a different mode to be applied to directories than the one applied to all other files. I have looked for this utility but never found it and being such a useful addition though it m

Re: How to only show symbol link with ls?

2010-02-20 Thread Bob Proulx
Peng Yu wrote: > I don't see an option to list only symbolic link with ls. Could > somebody let me know if there is such an option? I don't quite understand the nature of your question. 'ls' lists files in directories. There aren't specific options to 'ls' to only list files of certain types. F

Re: How to only show symbol link with ls?

2010-02-20 Thread Jon Stanley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 20, 2010 at 4:48 PM, Peng Yu wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iEYEARECAAYFAkuAWqwACgkQcREpSR+FEY0GvwCfZg/wgHgnNEn5ZOKUAuE4IpO

Re: How to only show symbol link with ls?

2010-02-20 Thread Eric Blake
According to Peng Yu on 2/20/2010 2:48 PM: > I don't see an option to list only symbolic link with ls. Could > somebody let me know if there is such an option? What exactly do you mean? If you want to list only the symbolic links, and nothing else, contained in a directory, then find(1) is the to

How to only show symbol link with ls?

2010-02-20 Thread Peng Yu
I don't see an option to list only symbolic link with ls. Could somebody let me know if there is such an option?

Re: wc user error?

2010-02-20 Thread Faheem Mitha
On Sat, 20 Feb 2010, Andreas Schwab wrote: Faheem Mitha writes: wc:  /home/cj35/snpdb/illumina_cj35.fg_40101.map: No such file or directory ^ That character looks like a space, but is a no-break space character (U00A0). Wow. Nice catch. Just FYI, how did you detect this?

Re: wc user error?

2010-02-20 Thread Andreas Schwab
Faheem Mitha writes: > On Sat, 20 Feb 2010, Andreas Schwab wrote: > >> Faheem Mitha writes: >> >>> wc:  /home/cj35/snpdb/illumina_cj35.fg_40101.map: No such file or directory >> ^ >> >> That character looks like a space, but is a no-break space character >> (U00A0). > > Wow. Nice catch. Jus

Re: -readable by who

2010-02-20 Thread jidanni
Gentlemen, some of these are clearer than man test or (info "(coreutils) Access permission tests") bash$ help test|grep you -r FILETrue if file is readable by you. -w FILETrue if the file is writable by you. -x FILETrue if the file is executable by you.

Re: wc user error?

2010-02-20 Thread Andreas Schwab
Faheem Mitha writes: > wc:  /home/cj35/snpdb/illumina_cj35.fg_40101.map: No such file or directory ^ That character looks like a space, but is a no-break space character (U00A0). Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5

wc user error?

2010-02-20 Thread Faheem Mitha
I'm puzzled by this. What am I missing here? Regards, Faheem. fah...@avicenna:/home/cj35$ wc -l snpdb/illumina_cj35.fg_40101.map 620902 snpdb/illumina_cj35.fg_40101.map fah...@avicenna:/home/cj35$ wc -l /home/cj35/snpdb/illumina_cj35.fg_40101.map wc:  /home/cj35/snpd