ur approch is right but u need to change some thing
as wc -l does not only returns file rows it also return file name so that name can not be divided
so use cut to remove that file name
also...
Type: Posts; User: vishalcjha; Keyword(s):
ur approch is right but u need to change some thing
as wc -l does not only returns file rows it also return file name so that name can not be divided
so use cut to remove that file name
also...
at ur prompt execute
pwd
it will print your current working directory say /mna/users
now u want to access file say /mna/users/bsp/hello.sh
so u can do it in two ways :
1.absolute path : more...
there is no special command for data base connectivity
i use informix database with unix
i write all informix command in a shell
and if executed with authentication to data base the result is...
i m not in front of my unix server so can not give exact answer
but to find occurance of character in string u can try following:
no_of_occurance=`expr "string" : 'char_name'`
i think this...