Forum: Shell Scripting Jun 26th, 2008 |
| Replies: 6 Views: 644 |
Forum: Shell Scripting Jun 25th, 2008 |
| Replies: 6 Views: 644 Re: Gathering data from specific lines Ghostdog,
Thanks for the great code example! I am mostly there. Here's what my sample data actually looks like (yes, each Policy entry will have the ---- as a... |
Forum: Shell Scripting Jun 23rd, 2008 |
| Replies: 1 Views: 1,044 |
Forum: Shell Scripting Jun 23rd, 2008 |
| Replies: 6 Views: 644 Gathering data from specific lines I'd like to create a script that will run a command, parse the output for certain fields/words and then email that information to me if it meets simple criteria.
For example, when run, the command... |
Forum: Shell Scripting Nov 1st, 2007 |
| Replies: 2 Views: 660 Error in script Hello,
I have a script I've used on pre-Solaris 10 that works just great. Now on a Sol10 box, it is bailing on this line with this error: syntax error at line 27: `|' unexpected
Here's the... |
Forum: Shell Scripting Aug 31st, 2007 |
| Replies: 3 Views: 2,307 |
Forum: Shell Scripting Aug 31st, 2007 |
| Replies: 3 Views: 2,307 |
Forum: Shell Scripting Aug 31st, 2007 |
| Replies: 3 Views: 2,307 Comparing two files and output values that match Hi all,
I have two files, both have a list of 6 digit values. I want to compare them and output the values that match up. The lines in each file are not supposed to contain the same value (in other... |
Forum: Shell Scripting Jun 21st, 2007 |
| Replies: 3 Views: 1,123 |
Forum: Shell Scripting Jun 20th, 2007 |
| Replies: 3 Views: 1,123 awk output separators? How can i get awk to separate the output with dashes?
A simple awk '{print $1-$2-$3}' does not work. |
Forum: Shell Scripting Jun 20th, 2007 |
| Replies: 5 Views: 4,706 |
Forum: Shell Scripting Jun 20th, 2007 |
| Replies: 2 Views: 1,297 Re: read line is stripping leading spaces In my very limited scripting experience, read will ignore spaces. You might be able to change that but I don't know how.
I have a read question, too, in another thread I just posted. |
Forum: Shell Scripting Jun 6th, 2007 |
| Replies: 5 Views: 4,706 Best way to skip first line? I need to read in a list from a file, but I want to always ignore/skip the first line of this file.
Right now I'm just cat'ing the file and awk'ing the first column as that's all I need. However,... |
Forum: Shell Scripting Apr 30th, 2007 |
| Replies: 1 Views: 904 Find info based on date Hello everyone,
Given a list of output that looks like this (from NetBackup bpimagelist if any of you are familiar), I need to pick out the last full backup closest to the end of the quarter (3/30,... |
Forum: Shell Scripting Feb 4th, 2006 |
| Replies: 6 Views: 4,327 Re: Take input from a file and perform a command I am trying to write a script that accomplishes this same thing, but I am running into a problem.
for i in <filename>
do
<application command> <-option> $i
done
What I'm finding is that the... |