Search Results

Search: Posts Made By: craigsky
2,462
Posted By craigsky
Okay. Thanks for pointing that out to me. ...
Okay. Thanks for pointing that out to me. Appreciate it!
2,462
Posted By craigsky
Son of a gun, thanks Aia! Could the following...
Son of a gun, thanks Aia!
Could the following been used as well for this?

print "$$group[0]"
2,462
Posted By craigsky
Hi Aia. Can you explain this portion of your...
Hi Aia. Can you explain this portion of your script to me please?

print "$group[0]->[0]Users: ", join(", ", @{$group[1]}), "\n";

Specifically this portion:
print "$group[0]->[0]Users: ",
...
1,819
Posted By craigsky
Still working on it Don. Getting close. Thanks...
Still working on it Don. Getting close.
Thanks much for your reply!
1,819
Posted By craigsky
bash I've tried the followin: ...
bash

I've tried the followin:


a=({$bfile..$efile})
b=({$bsfile..$esfile}

for (( c=0 ; c<= ${#a[@]} ; c++ ))
do
echo "${a[c]}" "${b[c]}"
done

)
1,819
Posted By craigsky
Comparing list of files in parallel
Hi everyone.

I have a list of files like:

file001
file002
file003
.
.
.
.
file385
file386
file387

There are more files than above, but I hope you understand what I'm trying to do...
Forum: Solaris 02-26-2014
24,222
Posted By craigsky
Will do! Thanks again guys
Will do! Thanks again guys
Forum: Solaris 02-26-2014
24,222
Posted By craigsky
Many Thanks, Guys! Although it took some time, I...
Many Thanks, Guys! Although it took some time, I was able to get the filesystem down to the point where rm started working again.

Looks like I'm good now.

Updating cronab now to find old files...
Forum: Solaris 02-26-2014
24,222
Posted By craigsky
Is there anyway to do with a wildcard? The...
Is there anyway to do with a wildcard?
The command works, it puts the size to "0", which is a start.

What does :>do, I wasn't aware of this command.
Forum: Solaris 02-26-2014
24,222
Posted By craigsky
Sorry, I should of included the version: ...
Sorry, I should of included the version:

SunOS 5.11 11.1 sun4v sparc SUNW,T5240

Here is the output fo df -k

Filesystem 1024-blocks Used Available Capacity Mounted on...
Forum: Solaris 02-26-2014
24,222
Posted By craigsky
File system full - not removed: No space left on device
Does anyone have any advise on trying to clean up a full filesystem? I can't rm any files because of the follow:

not removed: No space left on device

Any help would be very much appreciated.
4,201
Posted By craigsky
thanks much, that did it!!!!
thanks much, that did it!!!!
4,201
Posted By craigsky
arrays in awk???
Been struggling with a problem, I have been trying to do this in awk, but am unable to figure this out, I think arrays have to be used, but unsure how to accomplish this.

I have a input file that...
4,863
Posted By craigsky
awk ' { printf "%-.7s\n",$0 } ' in_file
awk ' { printf "%-.7s\n",$0 } ' in_file
1,482
Posted By craigsky
thanks much Jean-Pierre, it seems to be working.
thanks much Jean-Pierre, it seems to be working.
1,482
Posted By craigsky
I had a type-o in thread...sorry for the...
I had a type-o in thread...sorry for the confusion:

~~~Here is input file:~~~

|1 |0|0 |1|OC3 |O |O |OSTEDEF |SDHDEF |1671-OC3-3-1-1-5 |STS

1FAC|3 |5 |N |1PLUS1...
1,482
Posted By craigsky
need awk help
I am trying to create a loop in awk with the following script:

BEGIN { FS = "|"
print "begin here!"
hvc=1
vtg=1
vtm=1
}
while ( vtg <= 7 && hvc <= 3 ) {
/REGEXj {
print "list it!"
printf...
Showing results 1 to 17 of 17

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