Search Results

Search: Posts Made By: cmccabe
11,075
Posted By cmccabe
Got it.... if I want to be able to view these...
Got it.... if I want to be able to view these var, for say troubleshooting, canI? They can be virtual I just may need to verify them. Thank you :)

I think you beat me to it and just posted.
11,075
Posted By cmccabe
I get: y being echo on a newline. Thankk you...
I get: y being echo on a newline. Thankk you :).



mkdir TEST && cd $_
echo -e '. $1\necho var' >script.sh
echo 'var=yes' >config
bash script.sh config
yes



y
y
y


should...
4,210
Posted By cmccabe
I found the error in the script... thank you :).
I found the error in the script... thank you :).
15,801
Posted By cmccabe
set x showed the same as the previous post, I...
set x showed the same as the previous post, I initially thought there may be multiple files so used a for, but quickly realized that wasn't going to work. Is there a better approach? Thank you :).
...
2,036
Posted By cmccabe
Close, but the ID -1 Transcript Gene doesn't...
Close, but the ID -1 Transcript Gene doesn't need to print and even when I add FNR>2 it does. I added [A-Z] as the VPS may be different but it will always be capital letters. Thank you :).


awk...
4,650
Posted By cmccabe
I modified the find and added a loop to mkdir and...
I modified the find and added a loop to mkdir and got the expected results. Just wanted to share in case it helps anyone else in the future. Thank you :).


DIR=/home/cmccabe/Desktop/sub ##...
6,776
Posted By cmccabe
It was the wait, thank you very much it speeds up...
It was the wait, thank you very much it speeds up the untar process by 50% :).
2,133
Posted By cmccabe
I have learned quite a lot in the past couple of...
I have learned quite a lot in the past couple of years. I guess that am just not too confident, but will try. In writing the detail of what I was trying to do, it seemed very complex. I will try to...
10,387
Posted By cmccabe
I know its an easy thing but I couldn't figure it...
I know its an easy thing but I couldn't figure it out. I am reading effective awk programming edition 4, but still have a lot too learn. Thank you very much :).
2,420
Posted By cmccabe
Bash to select oldest folder in directory automatically and log process
The `bash` below uses the oldest folder in the specified directory and logs it. The goes though an analysis process and creates a log. My problem is that if there are 3 folders in the directory...
3,774
Posted By cmccabe
I had something similar @Aia awk...
I had something similar @Aia


awk '{split($4,a,"|"); print $1,$2,$3,a[1],"|",a[3],$6}' input
chr1 955543 955763 AGRN-6 | gc=75 +
chr1 957571 957852 AGRN-7 | gc=61.2 +
chr1 970621 970740...
10,569
Posted By cmccabe
You are correct in that a message box displays...
You are correct in that a message box displays when the workbook is opened. The VB is below with the hard-coded path in bold. Can the bash go to the excel file? The user can then run the VB and...
4,812
Posted By cmccabe
Thank you :)
Thank you :)
3,798
Posted By cmccabe
Thank you :).
Thank you :).
2,857
Posted By cmccabe
ls | head -3 tcode-pdf.txt ...
ls | head -3
tcode-pdf.txt
test-pdf.php@testid=4125
test-pdf.php@testid=4143


I manually copied over the tcode-pdf.txt as it was not there. Thanks for your help :).

I also attached...
1,232
Posted By cmccabe
Currently I have two different shell files (one...
Currently I have two different shell files (one that converts files and one annotates).

The conversion shell is:
#!/bin/bash
while true
do
printf "Enter ID : " ; read id
cd...
2,762
Posted By cmccabe
That fixed it, I always do that... force of habit...
That fixed it, I always do that... force of habit I guess. Using linux more and more now though. Thanks :).
1,722
Posted By cmccabe
I copied the numbers incorrectly. The script...
I copied the numbers incorrectly. The script works great and I got the same # as you. Thank you :).
1,143
Posted By cmccabe
I was able to get it to work, thank you.
I was able to get it to work, thank you.
Showing results 1 to 19 of 19

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