![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with expr command | ravi raj kumar | UNIX for Dummies Questions & Answers | 8 | 09-03-2007 05:59 AM |
| expr command | madhu_aqua14 | UNIX for Dummies Questions & Answers | 5 | 03-05-2007 06:26 PM |
| about accecing `expr` command | bhumi | Shell Programming and Scripting | 1 | 12-28-2005 03:44 AM |
| expr | Nathe | UNIX for Dummies Questions & Answers | 5 | 01-22-2004 07:49 PM |
| Problems with expr command | rooh | UNIX for Dummies Questions & Answers | 2 | 01-17-2003 11:03 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I am looking for the correct syntax on the expr command in UNIX. I have a script that I am building at the moment. the script is creating file1 that is an actual .sql file that is going inside the oracle database to get some information in there. It take that information, puts it inside another script called file2. I then do a cat on that file, grep for two lines i need, and put that into two files called file3 and file4, I then do a cut on the values that I need. and put that into files called file5 and file6. Now the values of those files are for example 198.7 and 78.5. With a normal bc command inside the file, it takes away the number that are follwing the desimal sign. expr can do tha, but I do not know how, someone can help me please?
Regards Wolf |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|