Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by StevetheBlue

  1. StevetheBlue

    What CD burning software would you recommend?

    What is the best CD burning software for kde 2/SuSE 7.2? Steve.
  2. StevetheBlue

    M$money conversiuon to linux

    I've got all my winDOH!s apps converted to linux equivalents and working fine. The last one I have to do is get my M$money stuff working in a linux app. NE1 got ne ideas on a linux money management prog that can import the m$money files? Once this is done, I can fvck M$ off once and for all...
  3. StevetheBlue

    problem starting openoffice.org

    Using openoffice.org 1.0 and SuSE 7.2, I'm getting the error message I18N: XWindow system doesn't support locale "LC_TYPE=en_GB@euro;LC_NUMERIC=en_GB@euro....." Anyone any ideas? I have 0.6.38 working perfectly. TIA Steve.
  4. StevetheBlue

    Error when starting soffice for 1st time

    Using openoffice.org 1.0 and SuSE 7.2, I'm getting the error message I18N: XWindow system doesn't support locale "LC_TYPE=en_GB@euro;LC_NUMERIC=en_GB@euro....." Anyone any ideas? I have 0.6.38 working perfectly. TIA Steve.
  5. StevetheBlue

    julian date help

    This works in ksh assuming a command line parameter of a valid date in the format YYYYMMDD. #!/bin/ksh yr=$(echo $1 | cut -c1-4) mth=$(echo $1 | cut -c5-6) day=$(echo $1 | cut -c7-8) while [ $mth -gt 1 ]; do mth=$(($mth - 1)) set $(cal $mth $yr) shift $(($# - 1)) day=$((day + $1))...
  6. StevetheBlue

    Using variables in a sed command

    Double-quotes allow the variables to be interpreted by the shell. Steve.
  7. StevetheBlue

    Using variables in a sed command

    try using double-quotes instead of single. Steve.
  8. StevetheBlue

    test for integer

    Using ksh try: read n if [ ! -n "$n" -o -n "$(echo $n | sed 's/[0-9]//g')" ]; then echo "It is not a number" else echo "It is a number" fi Steve.
  9. StevetheBlue

    Linux on Laptops?

    If you are in the U.K. try www.dnuk.com. Steve.
  10. StevetheBlue

    how can I print a specific line number in a file???

    To get line 9 try: sed -n &quot;9p&quot; <file_name> Steve.
  11. StevetheBlue

    how do i separate fields delimited by pipes (¦)?

    Call awk with awk -F'|' as -F sets the field seperator. Steve.
  12. StevetheBlue

    for loop using cat command

    or set $IFS to \n before you run that snippet of code. Steve.
  13. StevetheBlue

    NE1 know a site detailing awk error messages?.....

    I'm getting the following error: awk: input line script_name contains more than 3,000 characters. source line is 1 It only happens intermittently, however the file is processed correctly. When I run another awk script against the input file, it tells me the longest line is 174 chars. As it's...
  14. StevetheBlue

    NE1 know a site detailing awk error messages?.....

    TIA Steve.

Part and Inventory Search

Back
Top