Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. asd1234qwerty

    line 6: $file: ambiguous redirect

    Hi, i have the following code, but when i enter the word to add, the following error appears line 6: $file: ambiguous redirect. Does anyone know why? echo "enter file" read file echo "enter word to add" read word echo "$word" >> $file Thanks for your help.
  2. asd1234qwerty

    tell me how many specific words there are in the file?

    i'm trying to get the user to enter a word, then the script should search for how many of that word exists in the file. For example, I want it to say, "There are 7 'and' words in the file", or "There are 5 'the' words in the file" etc... I have the following which I used to find a specific...

Part and Inventory Search

Back
Top