new to linux/Ubuntu/shell scripting . . .

(रेवंत) Revant Nandgaonkar revant.one at gmail.com
Mon Dec 5 19:42:06 UTC 2005


On 12/6/05, Rachael C. <amaroq3 at gmail.com> wrote:
>
> $ grep -w -e '\(.\)\(.\).\2\1' bigTextFile > palindromes.txt
> and
> $ cat palindromes.txt
>

cat is working, If grep isn't putting characters in palindromes.txt,
cat is just showing you a blank file

see the output of grep without adding
"> filename.txt"

if you see no output, you added no output to filename.txt and are expecting
to see some output

--revant--

"What is food to one man may be fierce poison to others" *
- Lucretius. 95-55 B. C.

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051206/eddb9b8b/attachment.html>


More information about the ubuntu-users mailing list