10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to extract all entries containing the following patterns: ccccta & ccccccccc from the following infile:
>P39PT-678_Freq_5... (4 Replies)
Discussion started by: Xterra
2. Shell Programming and Scripting
Hi i have a file in which i am doing some processing.
The code is as follows:
grep DATA File1.txt >> File2.txt
sed 's/DATA//' File2.txt | tr -d ‘ ‘ >> File4.xls
As you can see my output is going in a xl file.The output consist of four columns/feilds out of which the first... (20 Replies)
Discussion started by: Sharma331
3. Shell Programming and Scripting
I'm trying to write a script that will do an ls of a location, echo it into a file, and then read that file and selectively delete files/folders, so it would go something like this:
while read LINE
if LINE = $DONTDELETE
elseif LINE =... (2 Replies)
Discussion started by: MaureenT
4. Shell Programming and Scripting
I have a file that is HTML encoded. Each line has something like this on each line..
<href=http://link.com/username.aspx>username </a> more info.. <a href=http://link.com/info1.aspx>info1</a> more code... <a href=http://link.com/info2.aspx>info2</a>
I have one goal really.. to clean up the... (2 Replies)
Discussion started by: dragin33
5. Shell Programming and Scripting
I need to split the file lines in below format as.
Input file : Sample.txt
<Rule expression="DeliverToCompID IS NULL" invert="true">
<Rule field="PossDupFlag" value="Y" >
<Rule expression="OrdStatus = '2' AND OrigClOrdID IS NULL">
Output... (5 Replies)
Discussion started by: manosubsulo
6. UNIX for Dummies Questions & Answers
Problem is suppose i have 50 lines in a file, 40 lines last character is "\" and the remaining 10 lines are good(i mean these 10 lines do not have "\" character)
How can i remove this character from the file.
Thanks (1 Reply)
Discussion started by: sandeep_1105
7. Shell Programming and Scripting
In POSIX shell, we don't have arrays, but we can iterate over a list like this:
list="Fred Barney Wilma Betty"
for i in $list; do echo $i; done
But let's say we want "Mr. Slate" in the list.
We know we can't just stick him in there like this:... (5 Replies)
Discussion started by: mjd_tech
8. UNIX for Advanced & Expert Users
I am new to AWK and have been battling with this one for close to a week now. Some of you did offer some help last week but I think I may not have explained myself very well. So I am trying again.
I have a dataset that has the following format where the datasets repeat every... (5 Replies)
Discussion started by: sda_rr
9. UNIX for Dummies Questions & Answers
is it possible to split the shell window in two or more parts like split command vi?
i am using putty as telnet client. (2 Replies)
Discussion started by: ilayans
10. Shell Programming and Scripting
hye everybody :) ,
i'm new to the scripting world.. hope you guys can help me out with this one..
i'm trying to identify any directory under /tmp/saya that is created more than one day from the current date..
e.g, today is March 14, so any directory that has time stamp March 13 backwards, i... (2 Replies)
Discussion started by: fara_aris