Search Results

Search: Posts Made By: Lukeadams
4
Pid
1,987
Posted By Lukeadams
Good point... You may be able to 'source' the...
Good point... You may be able to 'source' the command by prepending a period[SPACE] so it runs in the same process/shell.

Untested but worth a shot:

. echo "`date +"%H:%M:%S"` $$" >> $FILE
7,992
Posted By Lukeadams
Wow.... So the output is any line that appears...
Wow.... So the output is any line that appears more than once - but only printed once.

Can you explain what's going on here?
33,928
Posted By Lukeadams
I think you just need to add the "beginning of a...
I think you just need to add the "beginning of a line" character to only grep the lines that have no spaces before them.

grep '^package com.att.com;' file

Works in Solaris.

Your wording is a...
4,756
Posted By Lukeadams
Yeah, what dragon said. Personally, I like...
Yeah, what dragon said.

Personally, I like option 3. There's a million ways ya might get it done, but the three suggestions are probably the basis for most of 'em.

Keep in mind the potential...
Showing results 1 to 4 of 4

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