Search Results

Search: Posts Made By: aix-guy
2,266
Posted By aix-guy
Here is another way #!/bin/bash ...
Here is another way

#!/bin/bash

out=`echo $1 |awk -F";" '{printf("%s;%s;%s;%s;\"%s\"\n",$1,$2,$3,$4,$5)}'`
echo "$out"
10,624
Posted By aix-guy
hmmmm ok lets take the bonus first yes you can: ...
hmmmm ok lets take the bonus first yes you can:

if {$count < 0} {
puts "count is less than zero"
} elseif {$count > 0 {
puts "count is greater than zero"
} else {
puts "count is...
28,865
Posted By aix-guy
ok so /system/volms/.vbc/kill (space)...
ok so
/system/volms/.vbc/kill (space) /system/volms/.vbc/.vbc This is a parm pass since UNIX a space is the seperator
system/volms/.vbc/kill.pl >> /system/volms/.vbc/killlog 2>&1 This just copy...
28,865
Posted By aix-guy
well to run them manually you just copy and paste...
well to run them manually you just copy and paste so crontab -l
41 00 * * 1-5 /system/volms/.vbc/startmeup
then paste /system/volms/.vbc/startmeup at your prompt.
2,617
Posted By aix-guy
Add col and letters
cat $1 |awk '{
c1="chr" $1
c2=$2-1
c3=$2
cut_lng=(length($1 $2)+3)
ln_l=length($0)
c4=(substr($0,cut_lng,ln_l-cut_lng))
printf("%s %s %s %s\n",c1,c2,c3,c4)
}'
...
Showing results 1 to 5 of 5

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