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 strongm 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. eustathi

    Query decomposition and sub-queries

    Hello Can anyone can help me to understand the first question of the exercise 25,21 of Elmasri-Navath 4th edition? We have a distributed database system: 3 bookstores S1,S2,S3 and the books are distributed in this way S1: B1 B4 S2: B1 B2 S3: B1 B2 B3 B4 where BOOKS B1 : 0<price <20 B2 ...
  2. eustathi

    Reading three lines each time from text file

    Hello I want to put into a struct three numbers from a text file in which each number is in different line. I tested fgets to read line by line, but i cant think an efficient way to read three integers each time For example struct nums { int x,y,z; } nums1={1,2,3} nums2={4,5,6} text file...
  3. eustathi

    Using find for filename searching

    And why does the c1.exe match?
  4. eustathi

    Using find for filename searching

    It does match to [a-zA-Z0-9]
  5. eustathi

    Using find for filename searching

    Hello guys I am using this , it will print all the files which the final character in each name is e right? It will also contain files with .e extension? find . -name '*[a-zA-Z0-9][e]' -print Look my test ./ddd.sh.save ./c1.exe ./.gconf/desktop/gnome ./.gconfd/saved_state it didn't...
  6. eustathi

    Problem with parameter

    I tried this : bash-3.00$ sh countsrc.sh '*.txt' find: /u8/stud2004/eustathi/*.txt: No such file or directory 0
  7. eustathi

    Problem with parameter

    Hello again I cant understand why this is working fine #!/bin/bash #line counter declare -i total=0 for file in $(find $PWD/*.txt -print) do total=$(($total + $(awk 'END { print NR}' $file ))) done echo $total and this not for: sh script.sh *.txt #!/bin/bash #line counter declare -i...
  8. eustathi

    Function for line-managment

    I want to manage each line for example Variable= 6th line
  9. eustathi

    Function for line-managment

    Hello I am new in unix . I would be grateful if you could help me , i want to manage lines of a text file for example i want to do [grep sth] for the first file(first line) of the text file. i use this code ls -lR | awk ' BEGIN {print "LIST OF ALL FILES"} /[-]rw*/ {print $9} END {print "...

Part and Inventory Search

Back
Top