10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey Guys & Gals !
My script is creating a numbered list and I would like to have the numers and
results spaced apart by a tab.
Now to make sure it is clear which number corresonds with which outcome, I would like to have the tab space filled with dashes.
Anyone able to tell me if this... (6 Replies)
Discussion started by: TAPE
6 Replies
2. Shell Programming and Scripting
I am trying to get the file extension with file names that could contain multiple dots using shell scripting. I want to find a way using the sed command.
Example Filenames:
one.dat
one.dat.002
Results:
dat
I would like to return dat in both instances using the sed command. How can I... (4 Replies)
Discussion started by: smkremer
4 Replies
3. Shell Programming and Scripting
Here is my script:
1 #!/bin/bash
2
3 new() {
4 list=$(find . -name '*.html' -or -name '*.htm' -or -name '*.php' -type f| xargs awk -F\" -v RS='<' '/^iframe src=/ {print $2}'|sed 's#http://##;s#/.*##' | sort -u)
5
6 if ; then
7 echo "No iframes found"
8 exit
9... (2 Replies)
Discussion started by: striker4o
2 Replies
4. Shell Programming and Scripting
hi all,
I want to remove filenames beginning with multiple dots.how I can do this.
Thanks in advance (5 Replies)
Discussion started by: sriharsharavi
5 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a script called DOTS that will display the horizontal or vertical number of dots if the first argument... (3 Replies)
Discussion started by: pchelpmtl
3 Replies
6. Shell Programming and Scripting
Hi all,
I have files in the filename pattern of,
this.is.the.name.of.my.file.mov
and I would like to remove dots (.) and replace them with spaces ( ) so the output would be,
this is the name of my file.mov
The other issue that I have is that the number of dots (.) in the file... (6 Replies)
Discussion started by: Monkey Dean
6 Replies
7. UNIX for Dummies Questions & Answers
how would i go down a directory using the ../.. (6 Replies)
Discussion started by: JamieMurry
6 Replies
8. Programming
Point.h
#pragma once
#include <iostream>
using namespace std;
class Point
{
private:
int x;
int y;
public:
Point(void);
Point( int x, int y );
Point( const Point &xPoint );
~Point(void); (0 Replies)
Discussion started by: Max_Payne
0 Replies
9. UNIX for Dummies Questions & Answers
when I execute a command in like "run.sh," I can run it two ways:
./run.sh
or
. run.sh
What is the difference? (1 Reply)
Discussion started by: DarkLord
1 Replies
10. Programming
maximum number of dots in a domain name - not a sub-domain name.
for example:
mydomain.com ------ one dot
mydomain.com.au ------ two dots
do you know maximum number of dots in a domain name and could you provide a sample?
thx. (1 Reply)
Discussion started by: hello20009876
1 Replies