Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: mastachef
9,051
Posted By mastachef
If you are a professional, you really didn't need...
If you are a professional, you really didn't need to post all that. Thanks for you help.
9,051
Posted By mastachef
Awesome. Now I tried adding that to the script...
Awesome. Now I tried adding that to the script and here is the result:
awk: syntax error near line 172
awk: illegal statement near line 172

And this is the line that fails me all the time....
9,051
Posted By mastachef
I have a script that finds different file types...
I have a script that finds different file types and does a word count on them using AWK. I am trying to use EGREP instead to count the lines in the files. Right now, my task is to count lines for...
9,051
Posted By mastachef
Variable syntax and lines of code
I am trying to use use the AWK and EGREP commands together in an AWK script. My overall objective is to count lines of code but exclude comments and blank lines and such.

I am able to use AWK...
4,706
Posted By mastachef
This didn't work either. I will send you a PM.
This didn't work either. I will send you a PM.
4,706
Posted By mastachef
The script I was given is an AWK script and It...
The script I was given is an AWK script and It has alot of output string commands. This AWK script creates a .sh script with all the listing and various functions. Once, the AWK script is complete,...
4,706
Posted By mastachef
Something like that but I am still getting a...
Something like that but I am still getting a syntax error.
4,706
Posted By mastachef
Egrep question
I have a script that does the following. It searches a listing of directories with specific extensions and then formats a wc on those files. The code looks like this

find <directory> -name '*.js'...
5,258
Posted By mastachef
Okay. Now here is my issue. I am trying to count...
Okay. Now here is my issue. I am trying to count lines of code with many different files. The previous programmer created an script that creates an AWK. The programmer has two lines of code like...
5,258
Posted By mastachef
Awk, Sed and Grep
Hello. I am an older newbie trying to learn Unix. I have a task to perform and it entails counting lines of code. Currently, I am pointing to the directory where the files are contained and...
14,656
Posted By mastachef
My ultimate goal is to be able to run a shell...
My ultimate goal is to be able to run a shell script on another machine. It is for testing purposes for something else.
Forum: Ubuntu 12-28-2007
5,186
Posted By mastachef
If you are using Windows, I have been successful...
If you are using Windows, I have been successful using a program called ImgBurn.
14,656
Posted By mastachef
Telnet usename and password
I am creating a spec file for RPM and I have a shell script that I am working on. The ojective to to telnet to a server, switch to the appropriate directory, run another shell script and then exit...
Forum: Linux 12-24-2007
4,464
Posted By mastachef
RPM with ClearCase
Hello. I have a task to complete and it involves using RPM with ClearCase. I have looked through as much documentation as possible about RPM and I still have questions about it. My task is to create...
1,602
Posted By mastachef
Running scripts from home
I have created a Bourne shell script that helps with metric counting and it has to be run in a ClearCase view. It has been placed in a directory where if User A cd'd to it and runs it, a bunch of...
3,473
Posted By mastachef
Files and dates
Hello all. I am trying to do a file listing on a particular directory by date. I need to list the files and their directories that have a timestamp between Dec-1-2006 and Jan-1-2007. Any help would...
8,861
Posted By mastachef
The elements are later used by Clear Case to load...
The elements are later used by Clear Case to load the config_specs. I am trying to produce different config_specs for each date.
4,317
Posted By mastachef
Clear Case, Awk and script
Hello. I should have asked this awhile ago but here is my situation. My task is to generate LOC for different directories. I have a text file that has dates in this format (01-Aug-2006). My task is...
8,861
Posted By mastachef
The input file you created is correct. It has the...
The input file you created is correct. It has the dates like so


01-Sep-2006
25-Aug-2007


The file should read each date and then compare each date to the branchdate. Depending on the date,...
8,861
Posted By mastachef
Thank you. I should have mentioned that the awk...
Thank you. I should have mentioned that the awk is to read in the dates and construct another file with the date. For example, if the date was 01-Sep-2007, test the date and then configure a script...
8,861
Posted By mastachef
Korn shell and awk question
I am modifying a Korn shell script in using the Exceed (Solaris 10 environment). My task is to read in a .txt file with dates arranged like this (01-Sep-2006). I am to read each line and take the...
Showing results 1 to 21 of 21

 

Featured Tech Videos

All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy