[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Michael Mortimore wrote:
On Sun, 22 Nov 2009 17:42:15 -0000, Simon Robert <simon.robert@xxxxxxxxxxxxxxxxxxxxxx> wrote:Do the yaml files have funny names or something? if I do "grep a *.txt" (since i happened to have a load of txt files in ~) it works as expected.if I do "grep Transition *.yaml" I get simon@frog2:~/.alexandria/My Library$ grep Transition *.yaml grep: invalid option -- '.' Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. but I've not tried the above yet. OK, I tried it and it works great. Ta.or maybe you're using a different shell to me? mine is bash.
Do this grep Transition "*.yaml" -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html