Search Results

Search: Posts Made By: georg2014
1,002
Posted By sea
Please dont colorize regular text, it can make it...
Please dont colorize regular text, it can make it very hard to read.
Also, use code tags for code strings, not color, for the same reason and as required by the forum rules.

Thank you for sharing...
1,002
Posted By Scrutinizer
Try varying the field separator with awk: awk...
Try varying the field separator with awk:
awk -F 'EventID=|Job Name=|Schedule Name=|_CT-|_GC-|[|:]' 'NF&&NR>1{print $6, $10, $13}' file
1,456
Posted By DukeNuke2
Wrong subforum... Please watch out where to post...
Wrong subforum... Please watch out where to post your problems!
1,456
Posted By Don Cragun
I am completely lost. You show us an input...
I am completely lost.

You show us an input file containing 2 lines.

You show us an egrep that selects lines from that file containing the case insensitive string EventID and you magically...
2,129
Posted By Don Cragun
The following script seems to do what you want: ...
The following script seems to do what you want:
#!/bin/ksh
IAm="${0%%*/}"
if [ $# -ne 2 ]
then printf 'Usage: %s directory file\n' "$IAm"
exit 1
fi
dir="$1"
file="$2"
while :
do if [ -e...
2,129
Posted By Don Cragun
Is this a homework assignment? What...
Is this a homework assignment?

What operating system and shell are you using?

What have you tried to solve this problem?
Showing results 1 to 6 of 6

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