Search Results

Search: Posts Made By: jonjgc
1,573
Posted By jonjgc
Just a guess ... Re-order the steps, start...
Just a guess ...

Re-order the steps, start the X server before doing your putty command.
Maybe a working X server is necessary when trying to forward X11.
6,003
Posted By jonjgc
Does this work for you? awk ' /^Fatal / { ...
Does this work for you?

awk '
/^Fatal / {
if (FatalMsg != "")
printf "%s, %s\n", FatalMsg, "No ID found"
FatalMsg = $0
sub(/\.$/, "", FatalMsg)
}
/ id = / {
if (FatalMsg == "")
...
2,511
Posted By jonjgc
Try this: nawk 'BEGIN {FS=" "} {subs[$1]++}...
Try this:

nawk 'BEGIN {FS=" "} {subs[$1]++} END {for (i in subs) print i, subs[i]}'

Your last version uses a field variable, $2, in a BEGIN statement.
This is not valid because when the BEGIN...
Showing results 1 to 3 of 3

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