-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-04-03 at 17:57 +1100, Basil Chupin wrote:
On 02/04/13 13:44, Carlos E. R. wrote:
[pruned]
I found the data I tabulated, but not the script I used - I don't even know the name I used for it. I would have to search the entire disk for bash scripts, and then search all those inside for a recognizable string... that's a feature mc could have but it does not have.
Sorry, but it does. Look again.
Unless we are talking about 2 different things here - but I am talking about mc being able to search for text within files. Isn't this what you are saying mc cannot do?
I want 'mc' to find a particular type of file (using the command 'file'), and only then do a text search inside. cer@Telcontar:~> file bin/0_script_constructs bin/0_script_constructs: Bourne-Again shell script, UTF-8 Unicode text cer@Telcontar:~> In this case I want to search inside bash scripts only. If I do a string search unrestricted on the entire disks it looks inside huge multimedia files, for example, taking hours to finish. By the way, if I try a CLI "grep" on my ~/bin directory, it locks: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND cer 23961 0.1 0.0 11820 3568 pts/2 S+ 13:46 0:00 | \_ grep --color=auto fdisk bin/0_script_constructs bin/0_script_constructs~ bin/200506_attrib.list bin/Antiguos bin/Bck200405_attrib.dat CPU usage is NIL, iotop doesn't see the grep as working. I just typed: cer@Telcontar:~> grep fdisk bin/* ... Got some hits, then it stuck. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlFcF50ACgkQtTMYHG2NR9XF+gCfV8BDX7y7oMM1uSmhNt0hTrbT vHkAni7azYxXa0PdYCGS3VdbcFLD/dPD =jaBV -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org