10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wrote a code to find codons in a DNA string. The only problem I have is how do I make the code only work for a file with DNA. This means the file only has the characters a,c,g,t and no white space characters. (3 Replies)
Discussion started by: germany1517
3 Replies
2. Programming
Hello.
I need to write a command line interface that can be invoked either directly from the shell (command sub-command arguments), or as a shell that can process sub-commands.
i want to use bash auto completion for both scenarios.
example: lets say my CLI module is called 'mycli' and there... (5 Replies)
Discussion started by: noamr
5 Replies
3. Shell Programming and Scripting
I want to create an alias as follows but is not working
alias ../='cd ../' (3 Replies)
Discussion started by: kristinu
3 Replies
4. Shell Programming and Scripting
I am writing some scripts using bash and am wondering if there is a better way to perform the following set of formatting variables.
s1=" "
s2=" "
s3=" "
s4=" "
s5=" "
s6=" "
s7=" "
s8=" "
frmt_titl="${bYl}%s${nClor}\n"
frmt1_titl="${s1}$frmt_titl"... (10 Replies)
Discussion started by: kristinu
10 Replies
5. Shell Programming and Scripting
HI
I am trying to create a bash script to print whatever i type in
It has to have these below to define the size of the label and what size to print the text
N
q609
A100,10,0,5,2,2,N," "
P1
It has to be sent to below
> /dev/usblp0
So what it has to be is
Written... (12 Replies)
Discussion started by: bganse
12 Replies
6. Shell Programming and Scripting
Hello senior members,
I am a fairly newbie here. I just want to ask one question that how can once create one's own command interpreter/ shell like bash in unix/linux.
I need to execute basic commands like pipes and i/o.
Any help in this matter ?? (3 Replies)
Discussion started by: duma188
3 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to create a Matrix using bash. The expected output is
.AB CDE FG
1
2
3
4
5
6
7
I'm a newbie in shell language, really appreciate if there is anyone who can guide me with this.
Double post again, continued here (0 Replies)
Discussion started by: vinzping
0 Replies
8. Shell Programming and Scripting
I would like to create a variable within my bash script using awk. I'm reading in a line from an external file, then outputting to a new file in a specific format. But, it doesnt quite work as I have expected and could use some help.
(A pertinent excerpt of ) the bash code is:
count=1
... (4 Replies)
Discussion started by: snoitacilppa
4 Replies
9. Shell Programming and Scripting
Hi all. Suppose I have the following function in an executable file named "HOLA":
------------------------
function hola { echo "Hola ${@}."; }
------------------------
In addition, suppose that I want to execute the file so I can input my name next to ./HOLA. I mean,... (4 Replies)
Discussion started by: hresquivelo
4 Replies
10. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies