Skip to navigation
How to split a string in a shell script?
07.12.13
#!/bin/sh TMP="COLUMN1 COLUMN2 COLUMN3" RESULT=`echo $TMP | cut -d \ -f 2` echo $RESULT
Reply
Anonymous
how to split a string in a shell script?
#!/bin/sh TMP="COLUMN1 COLUMN2 COLUMN3" RESULT=`echo $TMP | cut -d \ -f 2` echo $RESULT
07.12.13
Reply
Anonymous
Information Epoch 1732376201
Code that is graceful and clear is less likely to break.
Home
Notebook
Contact us