10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this fastq file:
@M04961:22:000000000-B5VGJ:1:1101:9280:7106 1:N:0:86
GGGGGGGGGGGGCATGAAAACATACAAACCGTCTTTCCAGAAATTGTTCCAAGTATCGGCAACAGCTTTATCAATACCATGAAAAATATCAACCACACCA
+test-1
GGGGGGGGGGGGGGGGGCCGGGGGFF,EDFFGEDFG,@DGGCGGEGGG7DCGGGF68CGFFFGGGG@CGDGFFDFEFEFF:30CGAFFDFEFF8CAF;;8... (10 Replies)
Discussion started by: Xterra
10 Replies
2. Shell Programming and Scripting
Hi all
I have a variable name as below
runbatch=FCSTworLOADfx_CYR
Now i need to search for FCST in this variable and run a program
I am doing like this but it is failing
if ; then ****RUN PROGRAM**
Please help
DJ
Please use CODE tags when displaying sample input,... (3 Replies)
Discussion started by: Hypesslearner
3 Replies
3. Shell Programming and Scripting
Hello All,
I am learning BASH scripting and I would appreciate any help with a small problem I am having...
I am writing a script that builds a simple hosts file for DNS reasons related to a piece of software called netdb by parsing another application's config files for IP's and their... (4 Replies)
Discussion started by: Wesley545
4 Replies
4. Shell Programming and Scripting
From a shell script, I'm trying to get the first two characters of an environment variable.
If I type at the command promot:
XX=`echo $MYVAR | cut -c1-2`
echo $XX
It works just fine
However, if I execute the exact same thing from a shell script, I get:
cut: you must specify a list of... (2 Replies)
Discussion started by: Boomn4x4
2 Replies
5. Shell Programming and Scripting
I'm using a shell script to get user input with this command:
read UserInput
I would then like to take the "UserInput" variable and strip out all of the following characters, regardless of where they appear in the variable or how many occurrences there are:
\/":|<>+=;,?*@
I'm not sure... (5 Replies)
Discussion started by: nrogers64
5 Replies
6. Shell Programming and Scripting
I am trying to print 1st, 2nd, 13th and 14th fields of a file of line numbers from 29 to 10029. I dont know how to put this in one code. Currently I am removing the selected lines by
awk 'NR==29,NR==10029' File1 > File2
and then doing
awk '{print $1, $2, $13, $14}' File2 > File3
Can... (3 Replies)
Discussion started by: ananyob
3 Replies
7. Shell Programming and Scripting
I have a variable var which contains "ABCDEFDH"
Now I have to remove the first 4 characters that is "ABCD"
so my variable should contain only "DEFH"
plzz tell me how to do that .
i am using bash shell (1 Reply)
Discussion started by: cynosure2009
1 Replies
8. Shell Programming and Scripting
Hi Everyone,
I need to assign the value to the variable after selection.
Anyone can help me?
for example:
data_type_SQL=$($CONNECT cat <<-__EOF__
SET NOCOUNT ON
select location_type, location_id, warehouse from JEALOCATION where
LOCATION_ID="$data_LocID_SQL"
for "data_type_SQL"... (9 Replies)
Discussion started by: ryanW
9 Replies
9. UNIX for Dummies Questions & Answers
Using STDIN, how can I use perl to take an input string, with all lower case letters in the first five characters, and convert them to uppercase...
then take all uppercase letters in the second five characters and convert them to lowercase.
Example:
MichaelSmith to michaELSMIth
Thank you! (2 Replies)
Discussion started by: doubleminus
2 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
I need to get the specified word from the variable.can some one help me out in this ?
input=ASD34567P
i need to get the value as :
output1=34567
So i need to ignore the last character and get the remaining values.
THANKS IN ADVANCE. (6 Replies)
Discussion started by: ithirak17
6 Replies