06-04-2015
So that would mean that the variable WEBSITE contained the text mm.mm . Could that be?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all-
I've been fooling with this for a few days, but I'm rather new at this...
I have a bash variable containing a long string of various characters, for instance:
JUNK=this that the other xyz 1234 56 789
I don't know what "xyz" actually is, but I know that:
START=he other
and ... (2 Replies)
Discussion started by: rev66
2 Replies
2. Shell Programming and Scripting
Ummm can anybody help me with this one?
Its prob quite simple.
I bascially have a file name say J1x2x3x7.dat
Im using the file name as a variable in a bash script. Want I want to do is extract most of the file name and make it a new variable expect with say one of the number now a... (2 Replies)
Discussion started by: RichieFondel
2 Replies
3. Shell Programming and Scripting
I have some troubles with variables and quotes...
I want:
if $URL is empty (no user input) go to http://www.localhost/index.php/ else add this string (search) "?s=+$URL"
EXAMPLE:
No user input
string= http://www.localhost/index.php/
User input = "unix"
string=... (3 Replies)
Discussion started by: aspire
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
The following code finds the line containing fruits in test.txt and replaces instances of apple with banana.
ed -s test.txt <<< $'/fruits/s/apple/banana/g\nw'
What I want to do is put variables in the place of fruits, apple and banana.
I have tried replacing ' with " to get... (2 Replies)
Discussion started by: de_la_espada
2 Replies
5. Shell Programming and Scripting
Ok, this one isn't for everybody, it's pretty tough and I've spent a good deal of time on it without figuring it out yet.
Can anybody get this script to work:
#!/bin/bash
cq_fname="%let outputfile="/user/cq_"$1".csv";"
sed "29s/.*/\"$cq_fname\"/" file1.sas >... (3 Replies)
Discussion started by: nocloud
3 Replies
6. Shell Programming and Scripting
Hello,
I've spent hours this morning reading various past forum posts and documentation pages but I can't find exactly what I need.
I'm trying to call a variable with a variable in the name without having to make a third variable.
For example:
path=AB
legAB=50
leg$path
I want to... (8 Replies)
Discussion started by: DFr0st
8 Replies
7. Shell Programming and Scripting
Sometimes it is handy to protect long scripts in C++.
The following syntax works fine for simple commands:
#define SHELLSCRIPT1 "\
#/bin/bash \n\
echo \"hello\" \n\
"
int main ()
{
cout <<system(SHELLSCRIPT1);
return 0;
}
Unfortunately for there are problems for:
1d arrays:... (10 Replies)
Discussion started by: frad
10 Replies
8. Shell Programming and Scripting
I was wondering if anyone could provide some assistance. I trying to run an expect script within bash and get the results of a variable called RESULT. I Have tried a few things but none of them have worked. I know that the child process (the expect script) in this instance cannot set a variable... (6 Replies)
Discussion started by: ylafont
6 Replies
9. Shell Programming and Scripting
Trying to do so
echo "111:222:333" |awk -F: '{system("export TESTO=" $2)}'But it doesn't work (2 Replies)
Discussion started by: urello
2 Replies
UNRTF(GNU UnRTF 0.19.2) UNRTF(GNU UnRTF 0.19.2)
NAME
UnRTF - converts document in RTF format to other formats
SYNOPSIS
unrtf [options] [file...]
Options: [--nopict] [--html] [--text] [--vt] [--latex] [--ps] [--wpml] [--help] [--version]
DESCRIPTION
The program unrtf is a converter from Rich Text Format (RTF) to a growing number of document formats. At present it supports Hypertext
Markup Language (HTML), plain text, text with VT100 codes, LaTeX, and PostScript. All output formats except HTML are "alpha" i.e. limited
and development has just begun. However with HTML, the program supports tables, fonts, embedded images, hyperlinks, and paragraph align-
ment. Font support includes face and size changes, as well as typical attributes such as italic, bold, underlining, strikethrough, small-
caps, allcaps, expand, compress and both foreground and background colors. Images are always stored to separate files in the current
directory, or they can be ignored.
OPTIONS
--nopict
disables the automatic storing of embedded pictures to the current directory.
--html selects HTML output (default).
--text selects plain ASCII text output.
--vt selects text output with VT100 escape codes.
--latex
selects output of a LaTeX document.
--ps selects PostScript output.
--wpml selects WPML output.
--version
prints the program version.
WEBSITE
http://www.gnu.org/software/unrtf/unrtf.html
NOTES
Report bugs in the program to unrtf@gnu.ai.mit.edu.
UNRTF(GNU UnRTF 0.19.2)