10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I do have a shell file where I call many unix commands . I would like to add a regular expression step in that shell file, where a text file, say Test.txt has to be openned and all the :'s should be replaced.
Basically apply the follwoing regular expression:
:%s/://g
to that particular text... (2 Replies)
Discussion started by: Lucky Ali
2 Replies
2. Shell Programming and Scripting
I am trying to format a menu using tput. A sample of the menu that i want displayed is the following:
printf "***MAIN - MENU***\n"
printf " 1. OPTION 1\n"
printf " 2. OPTION 2 \n"
printf " 3. OPTION 3\n"
printf " 4. OPTION 4\n"
printf " 5.... (1 Reply)
Discussion started by: goddevil
1 Replies
3. Shell Programming and Scripting
$ read -s -N 5 ch; printf "$ch" |od -An -c
033
Obviously during the read I pressed F1. So check something more normal, right-arrow:
$ read -s -N 3 ch; printf "$ch" |od -An -c
033 $ tput kcuf1 |od -An -c
033 O C
Is my terminal the only broken one? I'm using PuTTY..... (2 Replies)
Discussion started by: neutronscott
2 Replies
4. Shell Programming and Scripting
Plz help me in writing a shell script to print * in the form of 8 using tput command ...
pattern shud be in d below form...
*
* *
* *
* *
*
* *
* *
* *
*
Thanks in advance. (3 Replies)
Discussion started by: Dpu
3 Replies
5. Shell Programming and Scripting
Hi,
I have a folder that contains many (multiple) files
1.fasta
2.fasta
3.fasta
4.fasta
5.fasta
.
.
100's of files
Each such file have data in the following format
for example:
vi 1.fasta
>AB_1 gi|15835212|ref|NP_296971.1| preprotein translocase subunit SecE... (3 Replies)
Discussion started by: Lucky Ali
3 Replies
6. Shell Programming and Scripting
Hi All
I have two files:
file 1
>AB_1
MLKKPIIIGVTGGSGGGKTSVSRAILDSFPNARIAMIQHDSYYKDQSHMSFEERVKTNYDHPLAFDTDFM
IQQLKELLAGRPVDIPIYDYKKHTRSNTTFRQDPQDVIIVEGILVLEDERLRDLMDIKLFVDTDDDIRII
RRIKRDMMERGRSLESIIDQYTSVVKPMYHQFIEPSKRYADIVIPEGVSNVVAIDVINSKIASILGEV
>AB_2... (5 Replies)
Discussion started by: Lucky Ali
5 Replies
7. Solaris
I'm just starting a 'serious' coding in UNIX, so what I need is to run a C code on UNIX, What do I have to install (app) prior to coding/running the code and how do I compile that code?
can I write my c code in UNIX or I need to have a visual studio for this? (7 Replies)
Discussion started by: Peevish
7 Replies
8. Shell Programming and Scripting
what is use of
tput smso
tput rmso
tput sgr0
Thanks (3 Replies)
Discussion started by: dhananjaysk
3 Replies
9. Shell Programming and Scripting
What is the difference between these two commands?
tput clear
/usr/bin/clear (4 Replies)
Discussion started by: whatisthis
4 Replies
10. UNIX for Dummies Questions & Answers
:mad: forgot the tput command to make the cursor blink... can any one give me a pointer.. one which command it is..
thanx moxxx68:D (3 Replies)
Discussion started by: moxxx68
3 Replies