Search Results

Search: Posts Made By: Ivo Breeden
6,589
Posted By Ivo Breeden
sed '/^$/q' filename Meaning: search for a...
sed '/^$/q' filename
Meaning: search for a line containing only begin (^) and end of line ($). Then quit (q).
1,715
Posted By Ivo Breeden
enhanced formatting
What is your problem exactly? Does the option "--timeout 2m" not work? If that is the case, the manual says:

-t, --timeout N
timeout after N seconds

So try "--timeout 120" . And if you...
841
Posted By Ivo Breeden
Like this? #!/usr/bin/ksh for status in...
Like this?

#!/usr/bin/ksh
for status in missing failed
do
for disk in `lspv | awk '{print $1}'`
do
for path in `lspath -l ${disk} -s ${status} -F "name parent path_id connection" |...
1,279
Posted By Ivo Breeden
find /home/test -name "*.testfile" -type f -exec...
find /home/test -name "*.testfile" -type f -exec rm -irf $(dirname {}) \;
2,409
Posted By Ivo Breeden
Hello Mirwasim, Your script is getting better. ...
Hello Mirwasim,
Your script is getting better.
Try this:

nawk 'BEGIN{print "<table border="1">"}
{print "<tr>";
print "<TD>";
for(i=1;i<NF;i++) printf("%s ", $i);
...
4,374
Posted By Ivo Breeden
join using join command
why not use the join command to join files? The problem is it only can join on 1 field in each file (default the first field in each file). But after the first join it gets much easier.

$ join -t...
Showing results 1 to 6 of 6

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