Search Results

Search: Posts Made By: davenorm
2,945
Posted By davenorm
sed 's/^\(.*[Jj]ohn.*\)$/\1(Happy People)/g' ...
sed 's/^\(.*[Jj]ohn.*\)$/\1(Happy People)/g'

- when line found with John or john in it, the whole line is copied into a buffer and then pasted together with the (Happy People) bit stuck onto the...
6,805
Posted By davenorm
or just knife and fork it with unix commands... ...
or just knife and fork it with unix commands...
(note 'list.file' is a file containing the aforementioned list as input - it would also work if list was just streamed as stdin rather than read as a...
1,864
Posted By davenorm
how about a different approach...
simple answer is no!

you could write a script that
1)asks the user to input values for each parameter one by one
2)then recreates the aforementioned file with the user input values - that way...
3,453
Posted By davenorm
rlogin -l <username> <hostname>
rlogin -l <username> <hostname>
2,167
Posted By davenorm
hmmm...
can't you just do it all in excel - i imagine excel is much better at maths than most shell script languages
5,513
Posted By davenorm
uhh sorry - typo noticed
the [-9] should be a [0-9], sorry
5,513
Posted By davenorm
simple solution (or have i misunderstood probelm)
1st - cat all text files together into 1 huge txt file (strating with most recent date 1st)

cat file1.txt file2.txt file3.txt > output1.tmp

then grep this:

grep 'ServerA...
Showing results 1 to 7 of 7

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