9
Formatting a floating point variable in a SED statementview story

http://unix.stackexchange.com – As part of a makefile recipe, I want to repeatedly adjust a few lines in some text file txt.in. In particular, I want to update, among others, the third line which contains simply two numbers separated by a space. They should be formatted as 0.00 0.00. (HowTos)

9
Sprint opens up 30 day risk-free trial of its improved networkview story

http://www.talkandroid.com – Sprint is not done getting some attention today. After launching HD Voice and expanding its 4G LTE network along with Sprint Spark, the carrier is welcoming anyone to try them out for 30 days risk-free. Don’t like what Sprint has to offer? Get your money back. (IT news)

9
DNS resolution problem with Fedora 20view story

http://unix.stackexchange.com – I have a newly built Fedora 20 server that I've just hooked to my network. It's a virtual server running on a VirtualBox host. (HowTos)

9
How to initialize an array using awk and bash?view story

http://unix.stackexchange.com – I am trying to store values of the first line of a text file into an array. (HowTos)

9
How to : insert a line in a file only if this line isn't yet part the fileview story

http://unix.stackexchange.com – Total newbie to shell scripting, I am searching to create a script to automatically apply some custom configuration to text based configuration files. In the present case, I am searching to add 2 line to /etc/sysctl.conf if these line are not yet in the file (to avoid having multiple occurrence of these line in the file). here is the script I use : if [ `grep vm.swappiness /etc/sysctl.conf` != (HowTos)

9
Is there any harm in using variables that aren't set?view story

http://unix.stackexchange.com – Say I have the following code: # Check if the color prompt is enabled and supported on this system if [ -n "$force_color_prompt" ] && [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then GREEN="\033[1;32m" DIM="\033[2m" RESET="\033[00m" fi echo -e "Oh, ${GREEN}green${RESET} world, ${DIM}don't desert me now...${RESET}" If color support is enabled, it will ec (HowTos)

9
Bash to Ash, errors and adjustmentsview story

http://www.unix.com – I wrote Bash script and now I want to convert it to Ash. (HowTos)

9
Script to Sort into columnsview story

http://www.unix.com – Hi geeks! I want to convert the following: Code: EPC-NotificationData: sms:2348034503643 EPC-GroupIds: 300H:10:22-01-2014T07:30:14,22-04-2014T07:30:14 To: Code: EPC-NotificationData: sms:2348034503643, EPC-GroupIds: 300H:10:22-01-2014T07:30:14,22-04-2014T07:30:14 I want them to be on the same line with comma separating the entries. I have a file with hundreds of entries with this a (HowTos)

9
Echo multi-line string via heredoc syntaxview story

http://www.unix.com – Code: [user@freegtw ~]$ cat bashtest #!/usr/local/bin/bash echo <<<"EOF" line1 line2 line3 EOF [user@freegtw ~]$ ./bashtest ./bashtest: line 3: line1: command not found ./bashtest: line 4: line2: command not found ./bashtest: line 5: line3: command not found ./bashtest: line 6: EOF: command not found What am i doing wrong? (HowTos)

9
Heimdall install problems?view story

http://crunchbang.org – I used the second line, and that does seem to list the file you mention. The end of the output is:/usr/include/usr/include/libusb-1.0/usr/include/libusb-1.0/libusb.h/usr/lib/x86_64-linux-gnu/libusb-1.0.soI guess that means it's something else?Thanks for the suggestion. (HowTos)