10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
2. UNIX for Dummies Questions & Answers
I found my answer... (2 Replies)
Discussion started by: sjung9442
3. UNIX for Dummies Questions & Answers
I've only just started using UNIX coding on my Masters project, so am still learning!! The script I've been writing is literally just for me to get used to writing it and seeing what I can do with some data I've been given.
I'm trying to write a script, where the penultimate line... (2 Replies)
Discussion started by: southernlight
4. Shell Programming and Scripting
Hey I am brand new to this forum and scripting.
I have several documents (1000+) all formated exactly the same. Each document contains 97 lines. I want to pull 3 lines from the documents to populate a file. These 3 lines are line number 9, 24, and 58.
Ok my questions: Instead of using... (3 Replies)
Discussion started by: david6789
5. Shell Programming and Scripting
i have atcl script and i want to source a csh script to reflect changes done by script ........
Please help....... (0 Replies)
Discussion started by: paragarora47
6. Shell Programming and Scripting
Ok I asked something similar earlier with no response, so maybe I didn't word it correctly. I'm new at this, so thank you for your help.
Here's what I have right now.
> cat MySourceFile
echo "Please Enter Value For My_Env_Var:"
set answer = $<
... (1 Reply)
Discussion started by: MMorrison
7. Shell Programming and Scripting
This little script is giving me error: Syntax error at line xxx : `(' is not expected. Wgat did I miss?
switch ( $RC )
echo not done
endsw (2 Replies)
Discussion started by: nimo
8. Shell Programming and Scripting
I have a simple csh-script on a Solaris Workstaion which invokes the bc calculator:
set shzp=`bc -l <<END \
scale = 3 \
-1. * $shz + $zshift \
The result ($shzp) in this case is 3 (-1*2+5). It works fine on Solaris 8.
... (2 Replies)
Discussion started by: two reelers
9. Shell Programming and Scripting
I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them)
Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Discussion started by: pollsizer
10. UNIX for Dummies Questions & Answers
I have a file with over 48000 lines and I need to select certain parts of the file. I know which awk commands work for what I need, I just need some help putting together a loop that will repeat the command. These are the commands that work:
awk 'NR < 6' plot.out > plot.test (I get... (1 Reply)
Discussion started by: dsstamps