Search Results

Search: Posts Made By: peter.herlihy
10,713
Posted By peter.herlihy
Might be able to use man -k while Can't try...
Might be able to use man -k while

Can't try it - but the -k is a keyword search in the man pages.
10,083
Posted By peter.herlihy
Eaily done by a script that saves to a variable...
Eaily done by a script that saves to a variable name if it's not syntaxed correctly.
3,888
Posted By peter.herlihy
Maybe a bit more clarity on what you're trying to...
Maybe a bit more clarity on what you're trying to do here....I took it differently to the others....

first file

name
date
time
time requested
approved

second file

john smith...
44
8,954
Posted By peter.herlihy
Good point that! Perhaps just clarifying that...
Good point that! Perhaps just clarifying that this isn't a 'user problem'.
2
1,827
Posted By peter.herlihy
You should have a look at the search feture of...
You should have a look at the search feture of this forum...this question has been answered a number of times before......

So try that...and you're looking for something along these lines:
...
44
8,954
Posted By peter.herlihy
You realise I'm blaming you for this!! :p
You realise I'm blaming you for this!! :p
Forum: Filesystems, Disks and Memory 09-04-2002
6,878
Posted By peter.herlihy
Try this thread....
Try this thread. (https://www.unix.com/showthread.php?s=&threadid=7397&highlight=excel)
44
8,954
Posted By peter.herlihy
Now I'm angry....
I've now lost my avatar. I was trying to upload other formats and not having much luck...and now I can't upload my original one! I know it's valid because it's been in use for ages.....

I feel...
44
8,954
Posted By peter.herlihy
I see this thread is the new Unix chat room...
I see this thread is the new Unix chat room now....you'll have $1 soon wtih everyones 2c.....
(oh and Kelam, does your brain want to do my work for me too?)

Seems to be ongoing issue this one -...
8,489
Posted By peter.herlihy
Cheers... although not what I'm after.... I'm...
Cheers... although not what I'm after.... I'm comfortable with editing the command line (esp with bash using the arrow keys and ctrl+a and crtl+e)....but was just curious if there is a way to do what...
3,280
Posted By peter.herlihy
Gotta leave some work for handynas......!
Gotta leave some work for handynas......!
Forum: Programming 09-03-2002
8,206
Posted By peter.herlihy
If you're wanting to get input from a user...
If you're wanting to get input from a user (interactive script)...then you can use 'print and read'
see man pages for detail.
8,489
Posted By peter.herlihy
editing bash command line with vi
Is there a way using bash that I can edit a command line using vi.

I.e. if I have a long command line and I want to edit it.....by typing vi and then having the command open in an editing...
3,280
Posted By peter.herlihy
The man page will explain the difference between...
The man page will explain the difference between "find ." and "find /"
116,779
Posted By peter.herlihy
You should use the 'gt' function...(greater...
You should use the 'gt' function...(greater than)...or 'lt' less than.

elif [ $int1 -gt $int2 ]
then echo "int one is greater than..........
3,280
Posted By peter.herlihy
see the 'man' page for find. find . -name...
see the 'man' page for find.

find . -name 'filename'
3,584
Posted By peter.herlihy
Maybe in defence of gsjf.... sometimes I'll ask...
Maybe in defence of gsjf.... sometimes I'll ask for certain method because I'll want to learn it that way....not that it's necessarily the best way...but one that maybe is requried or forms part of a...
47,797
Posted By peter.herlihy
Maybe that's me..... although I doubt that as I'm...
Maybe that's me..... although I doubt that as I'm not involved in this post. But I'll take it as a vote of confidence!
44
8,954
Posted By peter.herlihy
Where did you load the image from...I'll try for...
Where did you load the image from...I'll try for you see if it works for me.
2,558
Posted By peter.herlihy
Thanks guys.... I like the sed option...but...
Thanks guys....

I like the sed option...but I think I found the same in awk.....

awk -F"," ' /^11/ { print ; getline; print } ' my_file

Cheers for your help.
47,328
Posted By peter.herlihy
I see..... yes that's quite good.... but I'm a...
I see..... yes that's quite good.... but I'm a little confused now. I see that the default is to use either tab or space....and that it by default treats these consecutively as one. But with other...
3,584
Posted By peter.herlihy
Then use this sed '$a\\ ' filename >...
Then use this

sed '$a\\
' filename > new_filename

Double \\ required. Again - I tried in this shell.
3,584
Posted By peter.herlihy
try this: sed '$a\ ' filename >...
try this:

sed '$a\
' filename > new_filename

You have to type this on two lines - exactly as I have. Works in ksh. Just tried it for you.

The $ is for the last line - the 'a' is for...
3,584
Posted By peter.herlihy
see this thread...
see this thread (https://www.unix.com/showthread.php?s=&threadid=6744&highlight=insert+line)
2,558
Posted By peter.herlihy
pulling the following line from a file
I have return files from a process that has then original input record followed on the next line by a response record..either AA,........... for accepted or EE,.......... for errored.

i.e
...
Showing results 1 to 25 of 329

 
All times are GMT -4. The time now is 12:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy