User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 456,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,940 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 15 of 15
Search took 0.01 seconds.
Posts Made By: rusman
Forum: Shell Scripting Jun 26th, 2008
Replies: 6
Views: 644
Posted By rusman
Re: Gathering data from specific lines

I took out the brackets so that it was just FS":" and that worked. I'm not sure what the brackets do.

I'm working on the rest of it now.
Forum: Shell Scripting Jun 25th, 2008
Replies: 6
Views: 644
Posted By rusman
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
Posted By rusman
Script to run command on another server

What command will let me run a script/command on a remote machine? Anything I need to have in place to get this remote execution to work?

Thanks!
Forum: Shell Scripting Jun 23rd, 2008
Replies: 6
Views: 644
Posted By rusman
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
Posted By rusman
Question 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
Posted By rusman
Re: Comparing two files and output values that match

jeez, simple as that...comm worked. I actually hadn't looked at that one. Thanks bob!
Forum: Shell Scripting Aug 31st, 2007
Replies: 3
Views: 2,307
Posted By rusman
Re: Comparing two files and output values that match

Bob, thanks for the reply.

I am trying to achieve #4. I want to know which values from file 1 match file 2. I'll check out those commands again, but I didn't seem to see how they could be...
Forum: Shell Scripting Aug 31st, 2007
Replies: 3
Views: 2,307
Posted By rusman
Question 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
Posted By rusman
Re: awk output separators?

Got it working, thanks very much, as always :D
Forum: Shell Scripting Jun 20th, 2007
Replies: 3
Views: 1,123
Posted By rusman
Help 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
Posted By rusman
Re: Best way to skip first line?

Thanks all, I used more as that was the first response and it worked!!
Forum: Shell Scripting Jun 20th, 2007
Replies: 2
Views: 1,297
Posted By rusman
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
Posted By rusman
Question 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
Posted By rusman
Question 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
Posted By rusman
Tutorial 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...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 9:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC