10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this fastq file:
GGGGGGGGGGGGGGGGGCCGGGGGFF,EDFFGEDFG,@DGGCGGEGGG7DCGGGF68CGFFFGGGG@CGDGFFDFEFEFF:30CGAFFDFEFF8CAF;;8... (10 Replies)
Discussion started by: Xterra
2. Shell Programming and Scripting
I have string like this ="Lookup Procedure"
But i want the output like this Lookup Procedure
=," should be removed.
Please suggest me the solution.
Madhuri (2 Replies)
Discussion started by: srimadhuri
3. Shell Programming and Scripting
I have a variable like
What I want to do here is that If a find # before any entry, remove the entire string... (5 Replies)
Discussion started by: engineermayur
4. Shell Programming and Scripting
I need your help ..
here the example of my problem..i know its easy..i don't all the commands in unix to do this especiallly sed...here my string..
desired output is..
it's a simple task with tail... (5 Replies)
Discussion started by: victor369
5. Shell Programming and Scripting
I am new in shell scripting and i want to manipulate a string.
I have a string tha looks like: /home/nteath/file.txt
I want to remove everything until the last "/" , to keep only the filename.
Thanks (2 Replies)
Discussion started by: nteath
6. Shell Programming and Scripting
I'm tring to remove the last 4 characters from strings in a file i.e.
so i would end up with the last 4 characters from each of the above i.e.
I thought of using cut -c ... but I'm not sure how many characters will... (7 Replies)
Discussion started by: josslate
7. UNIX for Dummies Questions & Answers
I am running a script where one of the variables (the month and year) is input at the command line. What I would like to do is chop off the last few characters of that string to create a new variable, while maintaining the old one.
The script is run like this:
./pull_station_v4.csh KYWST... (3 Replies)
Discussion started by: TheSMan5
8. UNIX for Advanced & Expert Users
I have a string var which contains formatting characters at the end, it is a string with EScape sequences at the end of it.
How can I remove them so that I only keep the 'real' text?
I tried :
does not seem to do the job ....
Thanks (2 Replies)
Discussion started by: gio001
9. Shell Programming and Scripting
I'd like to write a script that removes any set of character from any string. The first argument would be the string, the second argument would be the characters to remove. For example:
$ myscript "My name's Santiago. What's yours?" "atu"
My nme's Snigo. Wh's yors?
I wrote the... (11 Replies)
Discussion started by: chebarbudo
10. Shell Programming and Scripting
Consider i have a directory /tmp/test and inside this directory i have the following files:
How can i remove the last four characters of every file in irder for the directory to be as:
I use the following command but id doesn't... (6 Replies)
Discussion started by: chriss_58