Search Results

Search: Posts Made By: gajanan_vm
5,800
Posted By gajanan_vm
use: cat temp_file |tr -d "\n" tr...
use:
cat temp_file |tr -d "\n"

tr (Translate) will delete new line charterer [\n]

cat temp_file |tr -s "\n" " "
5,800
Posted By gajanan_vm
consider yout temp file (temp_file) contains: ...
consider yout temp file (temp_file) contains:
A1/EXT "BAPBSC10/07B/00" 523 090530 0115
RXOCF-430 HY1711 1
EXTERNAL ALARM
DOOR ALARM
___________________________
#!/usr/bin/ksh
str_tmp=""...
38,149
Posted By gajanan_vm
use wait man wait wait -await process...
use wait
man wait

wait -await process completion
12,322
Posted By gajanan_vm
Use below option to debug it. This will might...
Use below option to debug it.
This will might help you.

#!/bin/bash -x
18,733
Posted By gajanan_vm
this is most recommended for reading a file using...
this is most recommended for reading a file using while loop.

while read line
do
echo $line
done<"test.dat"
26,037
Posted By gajanan_vm
corrected script is here: #!/bin/bash ...
corrected script is here:

#!/bin/bash
#Filename: Assignment Author: Luke Francis
quit=n
while [ "$quit" = "n" ]
do
clear
echo "OPERATOR ADMINISTRATIVE TOOL"
echo...
2,455
Posted By gajanan_vm
$ x="asdhasj|lsajdfksa|lsfhkas|" $ echo $x|sed...
$ x="asdhasj|lsajdfksa|lsfhkas|"
$ echo $x|sed 's/|//g'
asdhasjlsajdfksalsfhkas
Showing results 1 to 7 of 7

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