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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. singhsaab13

    manipulate column string in a csv file

    Here is all in all coede now. sed 's/\(.*T\)\(.*\+\)\(.*\:00\,\)\(.*\)/\1 \2\,\4/g;s/T//g;s/\+//g' | sort -t- -k 3n Output will be as follows. 2013-12-5 02:20:08,0,0,0,0,0,254,0,0,0,0,0,254,0,0,0,0,0,254,0,0,0,0,0,254,false 2013-12-6...
  2. singhsaab13

    manipulate column string in a csv file

    Sorry just want to add the sorting stuff as it is suggested in previous posts same we can add after running script as follows. ksh check_data_specific_form.ksh | sort -t- -k 1,1n -k2,2 -k3,3n Thanks, R. Singh
  3. singhsaab13

    manipulate column string in a csv file

    Hello, Following may help on same. sed 's/\(.*T\)\(.*\+\)\(.*\:00\,\)\(.*\)/\1 \2\,\4/g;s/T//g;s/\+//g' check_data_specific_form Where check_data_specific_form is the Input file name.
  4. singhsaab13

    Increment Replacement With Starting Value

    Hello, Following may too help for same. awk 'gsub(/xx/,(NR-1))1' file_name Thanks, R. Singh

Part and Inventory Search

Back
Top