Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
string to number
Name: George Date: September 10, 2003 at 10:47:50 Pacific OS: sun CPU/Ram: 1024
Comment:
In the following script when I get SIZE1 and SIZE2, they are of type string. I can not do any mathematical operations(especially comparing which file has more byte size) on them. I wanted to find out if I can convert string in to Number. Thanks in Advance.
Summary: I am look for a shell script to scan all files in the system to find out if a file contains a particular string. If yes, then write the file name, path and line number containing the searching string ...
Summary: I need to create a script, taking a number of parameters (a target string, a string to replace the target string, and a number of files), that performs the substitution and a backup file creation whe...
Summary: I was wondering if/how you can parse a variable to a function within a unix script (BASH). What I'm trying to do is print lines from my script to a file a number of times, I'd like to give the functio...