10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I have an inherited an old ugly script I'm trying to clean up a bit.
What I am currently working on is a line like the following:
Complication=" and ta.secID = 011222 and upper(ta.proc_ctrl_no) != 'IMPACT'";;
I just want to combine a search for lines that begin with... (5 Replies)
Discussion started by: blip42
5 Replies
2. What is on Your Mind?
My new magic wand just came. It looks great. Looking at it, it looks like it is carved by hand from a solid piece of wood. It could easily serve as a prop in a Harry Potter film. But it is actually a high tech appliance.
A built-in accelerometer can detect how you are moving the wand. ... (2 Replies)
Discussion started by: Perderabo
2 Replies
3. Shell Programming and Scripting
I want to become an expert @ using sed, but i do not have enough time...
Atm I have a repository in my apt/sources.list but it is commented out since i do not want to install packages from it (backtrack repository) except the exploitdb package.
I would like make a command, lets say... (5 Replies)
Discussion started by: redsolja
5 Replies
4. UNIX for Dummies Questions & Answers
when i use this code for the script of the magic 8ball, i get an error message and it always displays the sam answer. What am i doing wrong or what am i missing thanks
#!/bin/sh
#< Magic eight ball!
# KW 26/11/04
# Requires "rand"
echo "Enter \"q\" followed by return to quit"
function... (6 Replies)
Discussion started by: JamieMurry
6 Replies
5. Shell Programming and Scripting
Hi,
I have this line in my script, and works perfect!
tran= "$(sed = "$fname" | sed "/./N; s/\n/: /" | sed -n "${beg},${end}p")"
$fname its a file, and gets multilines between beg and end.:
Something like this:
1: line a
2: line b
3: line c
But now, I want insert in the end of each... (9 Replies)
Discussion started by: vibra
9 Replies
6. Shell Programming and Scripting
Hi, I have a input file like this
TH2TH2867Y NOW33332106Yo You Baby
TH2TH3867Y NOW33332106No Way Out
TH2TH9867Y NOW33332106Can't find it
TJ2TJ2872N WOW33332017sure thing alas
TJ2TJ3872N WOW33332017the sky rocks
TJ2TJ4872N WOW33332017nothing else matters
TJ2TJ5872N WOW33332017you know... (1 Reply)
Discussion started by: devtakh
1 Replies
7. UNIX for Advanced & Expert Users
Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance. (1 Reply)
Discussion started by: vijlak
1 Replies
8. UNIX for Dummies Questions & Answers
Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance. (0 Replies)
Discussion started by: vijlak
0 Replies
9. UNIX for Dummies Questions & Answers
Hiya people,
A great big "HI" to everybody. I'm new to the Forum and now to my problem(s).
I am about to partition my only 80GB HD and using the Partition Magic 8 software it looks fairly simple although here is my problem :-
1. Do I change the new partition to primary or logical?
2. Do I... (4 Replies)
Discussion started by: Syndrome_00
4 Replies
10. UNIX for Dummies Questions & Answers
For a multi-boot setup (win2K, XP & SuSE) over 3 drives, where should Boot Magic be installed to? And does it matter which o/s installs it? (3 Replies)
Discussion started by: onestepto
3 Replies