Ok, I'm stumped and can't seem to find relevant info.
(I'm not even sure, I might have asked something similar before.):
I'm trying to use shell scripting/UNIX commands to extract URLs from a fairly large web page, with a view to ultimately wrapping this in PHP with exec() and including the... (2 Replies)
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
I have a regexp that I wish to match against every line of a file using awk.
But I do not want to substitute it or select the line.
I want to pull the matched text out and put it in a different file, line by line.
What is the correct awk usage to *extract* a regexp and put it in another... (11 Replies)
Hi Gurus,
I have a .tar file which required untar to the new location. I list the content with –tvf its listing the files which are inside the tar, when I am extracting he file from tar its working fine, however once I am trying to extract the file at the new location I am unable to do so. I... (11 Replies)
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Hi,
I am new to unix and shell scripting.
Please help me in resolving the below issue.
In my shell script I have a variable which stores the different files with the path. Now I need to move all the files one by one to another location.
----
1.... (4 Replies)
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
LEARN ABOUT ULTRIX
diffmk
diffmk(1) General Commands Manual diffmk(1)Name
diffmk - mark differences between files
Syntax
diffmk name1 name2 name3
Description
The command compares two versions of a file and creates a third file that includes ``change mark'' commands for or The name1 and name2 are
the old and new versions of the file. The command generates name3, which contains the lines of name2 plus inserted formatter ``change
mark'' (.mc) requests. When name3 is formatted, changed or inserted text is shown by | at the right margin of each line. The position of
deleted text is shown by a single *.
The command can be used to produce listings of C (or other) programs with changes marked. A typical command line for such use is the fol-
lowing:
diffmk old.c new.c tmp; nroff macs tmp | pr
In this example the file macs contains:
.pl 1
.ll 77
.nf
.eo
.nc `
The .ll request might specify a different line length, depending on the nature of the program being printed. The .eo and .nc requests are
probably needed only for C programs.
If the characters | and * are inappropriate, a copy of can be edited to change them. The command is a shell procedure.
Restrictions
Aesthetic considerations may dictate manual adjustment of some output. File differences involving only formatting requests may produce
undesirable output, that is, replacing .sp by .sp 2 will produce a ``change mark'' on the preceding or following line of output.
See Alsocmp(1), comm(1), diff(1), nroff(1), join(1), sccsdiff(1), troff(1), uniq(1)diffmk(1)