G'day all
Just wondering if anyone can help me, is it possible, within a Bourne Shell script, to check if a entered file exists? :confused:
An example would be (And this is the reason why I'm asking) If I was to write a super-basic backup script, and the user entered a filename, what sort of... (2 Replies)
now, what do you define as core files.
there are some files outthere with the name perl.core, I-core.png, core.png
I mean, are these classified as core files too??? i thought core files are simply files called "core". Please help me out
this is urgent (2 Replies)
Frenz,
I have a file with certain columns from ls -lR which looks something like:
file stemp
----------
lrwxrwxrwx ./temp/s1 -> 2.ksh
lrwxrwxrwx ./temp/s2 -> 3.ksh
lrwxrwxrwx ./temp/subtemp/s3 -> 1.ksh
lrwxrwxrwx ./temp/subtemp/s4 -> 2.ksh
lrwxrwxrwx ./temp/s5 -> ... (9 Replies)
I have sunfire question and getting the following error message through prtdiag.
MB/P0/F0 RS failed 0 rpm
What it means? Please help me ASAP. (2 Replies)
I need to get the lines in a log file matching a particular string, and print out the output to the screen from the point of the match, to the end of the file.
I know this code does it: awk '/regex/,0'
but the string I need to search for inside the log file looks something like this: ... (4 Replies)
I have a make_recovery tape, if I restore the VG00 volume group using this, will my other volume groups still be ok after the restore(I have 7 data volume groups)
I used make_recovery -A to create the tape
I have a HP9000 HP-UX 11
An internal disk is failing, the other volume groups are on... (3 Replies)
HI all,
i have a line in a file it cantains
one;two_1_10;two_2_10;two_3_10;three~
now i need to get the output as
one;two_1_abc_10;two_2_abc_10;two_3_abc_10;three~ ( 1 should be replaced with 1_abc for two__10 , and one more thing the number of occurances of two_value_10 will be... (1 Reply)
I have a file like below. I need from each group of messages only first lines after error. Could you pleasde help me to write a correct program?
expected output is like this "Error 126614 in debt instrument header for debt instrument ID 10115537: The
rating reason RATING AFFIRMED selected for... (1 Reply)
Discussion started by: digioleg54
1 Replies
LEARN ABOUT DEBIAN
prev
PREV(1) [nmh-1.5] PREV(1)NAME
prev - show the previous message
SYNOPSIS
prev [+folder] [-showproc program] [-showmimeproc program] [-header | -noheader] [-checkmime | -nocheckmime] [switches for showproc or
showmimeproc] [-version] [-help]
DESCRIPTION
Prev performs a show on the previous message in the specified (or current) folder. Like show, it passes any switches on to the program
named by showproc or showmimeproc, which is called to list the message. This command is almost exactly equivalent to "show prev". Consult
the manual entry for show(1) for all the details.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
showproc: Program to show non-MIME messages
showmimeproc: Program to show MIME messages
SEE ALSO show(1), next(1)DEFAULTS
`+folder' defaults to the current folder
`-checkmime'
`-header'
CONTEXT
If a folder is specified, it will become the current folder. The message that is shown (i.e., the previous message in sequence) will
become the current message.
BUGS
prev is really a link to the show program. As a result, if you make a link to prev and that link is not called prev, your link will act
like show instead. To circumvent this, add a profile-entry for the link to your nmh profile and add the argument prev to the entry.
MH.6.8 11 June 2012 PREV(1)