10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have data that looks like this:
<Country code="US"><tag>adsf</tag><tag>bdfs</tag></Country><Country code="CA"><tag>asdf</tag><tag>bsdf</tag></Country>
I want to grab the country code save it, then drop each new "<..." onto a new line with the country code added to the beginning of each
So,... (9 Replies)
Discussion started by: JenniferAmon
9 Replies
2. Shell Programming and Scripting
#!/bin/sh
# This script returns the number of rows updated from a function
echo "The execution is starting ....."
sqlplus -silent $UP <<EOF
set serveroutput on
set echo off
set pagesize 0
VAR no_rows_updated NUMBER;
EXEC :no_rows_updated :=0;
DECLARE
CURSOR c_update is
SELECT * FROM... (4 Replies)
Discussion started by: LoneRanger
4 Replies
3. HP-UX
I use hp HP-UX.
I want to get vsz of the process .
What is the syntax ...
/run>ps -help
ps: illegal option -- h
ps: option requires an argument -- p
usage: ps (3 Replies)
Discussion started by: chuikingman
3 Replies
4. Shell Programming and Scripting
I want the output to show 2 lines following this line.
How do I amend my awk command.
Please guide.
Thanks (3 Replies)
Discussion started by: Tirmazi
3 Replies
5. UNIX for Dummies Questions & Answers
i do lots of formatting of types/sorts on my laptop and this is probably one of the basic syntax I use
sed '/\<*:/G;/\.$/G;' filename | fmt -w 80 > foo
if I add /**.*/;' to the sed command sometimes i am getting the right output some times I get line-errors...
even with basic syntax as I... (6 Replies)
Discussion started by: moxxx68
6 Replies
6. UNIX for Dummies Questions & Answers
hi all,
im trying to use a sed command to remove all occurenes of \p\g
what i used so far is : sed 's!\p\g!!g' file
but this doesnt work ?
Any ideas, thanks for helping. (2 Replies)
Discussion started by: seaten
2 Replies
7. UNIX for Dummies Questions & Answers
Here's my situation. I am trying to move all files from one directory to another. I have the following requirements:
1) Move all files in /myfiles/wip matching pattern "*.tif" to /work/in that are at least 10 minutes old (or older).
2) When the files are moved, they need to be moved into... (2 Replies)
Discussion started by: dsimpg1
2 Replies
8. UNIX for Dummies Questions & Answers
I'm pretty new to UNIX and was wondering what is the Unix command for going back one directory? (3 Replies)
Discussion started by: Jatic
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Does anyone knows the command syntax for the following Unix commands:
at
mount
The OS is the Chorus/Mix 4.3 BSD Unix.
The "at" command does the following: at a precise date and hour it executes a desirede command.
Many thanks !!!
Regards, Pedro Pereira (3 Replies)
Discussion started by: pmap
3 Replies
10. UNIX for Dummies Questions & Answers
I am trying to write a shell script to look at log files with dates in the file name.
Now I know how to use the expr command to subtract 1 day from the other, which is simple when the dates are from the 2nd to the 31st of each month.
But the problem I have is when the date turns to the 1st... (4 Replies)
Discussion started by: cfoxwell
4 Replies