04-11-2009
Perfect! Thanks everyone!
Last question I promise. How can I read and extract the existing data so I can show it to the user before they change it?
So for example, how would I extract
localhost:25
from
smtpDestination:=localhost:25
Thanks for all your help everyone!
Alex
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a text file with following content (3 lines)
filename : output.txt
first line:12/12/2008
second line:12/12/2008
third line:Y
I would like to know how we can replace 'Y' with 'N' in the 3rd line keeping 1st and 2nd lines same as what it was before.
I tried using cat output.txt... (4 Replies)
Discussion started by: santosham
4 Replies
2. UNIX for Advanced & Expert Users
I have a file which contains the following data.
Parameters "CParameters"
BEGIN DSSUBRECORD
Name "TgtDB"
Prompt "TgtDB"
Default "edwdev"
ParamType "0"
ParamLength "0"
ParamScale "0"
END DSSUBRECORD
MetaBag... (6 Replies)
Discussion started by: ukatru
6 Replies
3. Shell Programming and Scripting
I have an html file that looks like this (this is just a part of the html file):
<td colspan="3" rowspan="1" style="text-align: center; background-color: rgb(<!-- IDENTIFIER1 -->51, 255, 51);"><small><!-- IDENTIFIER2 -->UP</small></td>
This is to automatically update the status of the... (4 Replies)
Discussion started by: The One
4 Replies
4. Solaris
I have a netscape 4.79 browser for our GUI which connects to a Solaris5.8 box. During peek hours, we see question marks appearing in the screen instead of the text we enter. This results in query failure. This problem does not happen always, and is quite irritating because, we have to close the... (6 Replies)
Discussion started by: vanz
6 Replies
5. Shell Programming and Scripting
Hi.
I would like to have experts help on below action.
I have text files in which page nubmers exists in form like
PAGE : 1
PAGE : 2
PAGE : 3 and so on there is other text too. I would like to know is it possible to check the last occurance of Page... (6 Replies)
Discussion started by: lodhi1978
6 Replies
6. Shell Programming and Scripting
how to check that the "file path" entered by the user has the valid file. (6 Replies)
Discussion started by: Rashid Khan
6 Replies
7. Shell Programming and Scripting
Hello
Does the unix korn shell provide a function to convert number entered in command line argument to text or Character so that in next step i will convert Chr to Hex (6 Replies)
Discussion started by: aadityapatel198
6 Replies
8. Windows & DOS: Issues & Discussions
so...
Lets assume I have a text file.
The text file contains multiple "#" symbols.
I want to replace all thos "#"s with a STRING using DOS/Batch
I want to add a certain TEXT to the end of each line.
How can I do this WITHOUT aid of sed, grep or anything linux related ? (1 Reply)
Discussion started by: pasc
1 Replies
9. Shell Programming and Scripting
I wrote a program using Perl to find and replace a text within a file.
The text that needs to be replaced in the file is 'sql7.0.1' with 'sqls715'. When I execute my program I get an error message:
Here is my code:
#!/usr/bin/perl
use strict;
use warnings;
my $filename =... (6 Replies)
Discussion started by: dellanicholson
6 Replies
10. Shell Programming and Scripting
hi all,
trying this using shell/bash with sed/awk/grep
I have two files, one containing one column, the other containing multiple columns (comma delimited).
file1.txt
abc12345
def12345
ghi54321
...
file2.txt
abc1,text1,texta
abc,text2,textb
def123,text3,textc
gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
6 Replies
LEARN ABOUT DEBIAN
swfextract
swfextract(1) swftools swfextract(1)
NAME
swfextract - a tool for extracting data out of swf files.
Synopsis
swfextract [options] [file.swf]
DESCRIPTION
swfextracts allows one to extract swf movieclips and objects out of swf files.
SWF files are animation files which can be displayed in Web Browsers using the Flash Plugin.
OPTIONS
-h, --help
Print short help message and exit
-o, --output filename
Write output to file filename
-V, --version
Print version info and exit
-i, --id ids
ids is a range of IDs to extract. E.g. 1-10,14
-j, --jpegs ids
ids is a range of JPEG IDs to extract. E.g. 1-2,3,14-
-p, --pngs ids
ids is a range of PNG IDs to extract. E.g. -10,20-30
-f, --frame frames
frames is a range of frames to extract. E.g. 1-10,20-30,40-
-n, --name name
Set the name of the object to extract to name.
-w, --hollow
Copy empty frames to the output file, too.
-P, --placeobject
Copy original placeobject tag for the given object into the output file (Use with -i). This means that the object is at the same
position in the generated movie as in the original movie.
-j, --jpegs range
Extract jpeg pictures in range
-p, --pngs range
Extract png pictures in range
-m, --mp3
Extract main mp3 stream (There may be substreams in the Movieclips, as well. To extract these, first extract the Movieclips with -i
and then use -m)
AUTHOR
Matthias Kramm <kramm@quiss.org>
swfdump January 2003 swfextract(1)